|
|
| There's more than one way to do things | |
| PerlMonks |
What is idiomatic use of WWW::Mechanize->new re: default headers?by CoVAX (Beadle) |
| on Feb 09, 2015 at 01:36 UTC ( [id://1115984]=perlquestion: print w/replies, xml ) | Need Help?? |
|
CoVAX has asked for the wisdom of the Perl Monks concerning the following question: Here's what I've currently doing (snippet):
Since TIMTOWTDI I'm wondering if I should use a hash instead, and pass a reference to it to WWW::Mechanize->new() (how?), or should I call default_header once, passing it a list of key/value pairs? Your thoughts?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||