はてダラが動かない。。

環境を変えたらこんなエラーが出てはてダラが動かなかった。。。

$ perl hw.pl -u hogehoge -p fugafuga -d
DEBUG: Debug flag on.
Hatena Diary Writer Version 1.4.1
Copyright (C) 2004,2005 by Hiroshi Yuki.
DEBUG: main: files: current dir (.): ./2011-08-04.txt
Login to https://www.hatena.ne.jp/login as hogehoge.
DEBUG: login: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed
DEBUG: login: $r = LWP will support https URLs if the LWP::Protocol::https module is installed.

Login OK.
DEBUG: login: Making cookie jar.
DEBUG: login: $cookie_jar =
DEBUG: read_title_body: input: ./2011-08-04.txt
Post 2011-08-04.
DEBUG: create_it: 2011-08-04.
DEBUG: create_it: 302 Moved
DEBUG: create_it: Location: /hogehoge/
DEBUG: create_it: returns 0 (ERROR).
ERROR: try_it: Check username/password.

結局は以下のすべてのモジュールを一旦アンイストールした後、以下のモジュールをインストールしたら成功。

  • LWP::UserAgent
  • LWP::Protocol::https

1番目のモジュールはともかく、2番目のモジュールはデバッグしなきゃわからなかった。
(下のモジュールは公式ドキュメントにインストールするように記載があったけど。。。)

  • Crypt::SSLeay

はてな記法について

見出し

test

test
  • test
    • test
      • test

test
テスト
試験

表組み

名前 個数
りんご 1
みかん だいだい 2
名前 個数
りんご 1
みかん だいだい 2

脚注

テスト*1

引用

テスト
テスト

aa

細かいことはいいんだよー
               ,、
             //
           ///)
          /,.=゙''"/       _,r'三 ̄`ヽ、
         i f ,.r='"-‐'つ     /ヘ/" ゙̄\,ミ\
         /   _,.-‐'゙~     ,! 、!r r。-r ミ   i
        ,i    ,二ニー;     ドツ ヽ ̄  fハ, il
        ノ    il゙ ̄ ̄      l ー-_゙   ,、/ /
      ,イ「ト、  ,!,!         ゙! )二」゙  ,!i Y
     / iトヾヽ_/ィ"___.     ヽ.t  _/,!  i
    r;  !\ヽi._jl/゙_ブ,フヽヾーtー:、__ ,トf-≦-=、_,L
    ∧l   \゙7'゙ .j!/ / /\jr=ニ:ー-゙┴、 ゙ミ三ヽi]l「/l
   ./ i !   \.// /./  ./   \ ┌‐ヽミ≦‐十'"!
  /  i゙i     /  ̄ ̄ ̄       i .l ッー-、\_ミ「彡゙ー=r.、
 ノ   ヾ、  /            i! ! \_ ̄i i l r‐へ__\ー-、
/      ゙''y'              l .i  、 l  !.j .l l 「,>゙t.,>‐fi

*1:日本語で言う試験