in reply to Error when using WWW::Mechanize

If I were you I'd learn scoping first because subs should take arguments (and most of the time return values, or throw exceptions) (Tutorials: Variable Scoping in Perl: the basics, Coping with Scoping , Mini-Tutorial: Perl's Memory Management, Lexical scoping like a fox,) ... then look into Net::Amazon, Net::Amazon::RemoteCart instead of scraping .... hope this helps

Replies are listed 'Best First'.
Re^2: Error when using WWW::Mechanize
by coderman9 (Initiate) on Dec 15, 2013 at 21:28 UTC

    I do know functions fairly well from my work with C++, but you're right about the arguments and return values. Thanks for the module links too :)