Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Test :: WWW :: Mechanizeを使用して.htaccessで保護されたページをテストしたいのですが、ページのクレデンシャルを送信する方法がわかりません。これを処理できる関数が見つかりませんでした。
use Test::WWW::Mechanize; my $mech = Test::WWW::Mechanize->new(); my ($user, $pass) = qw/user pass/; $mech->credentials($user, $pass); $mech->get_ok('http://example.com');