FYI, WWW::Mechanize is (1.66). Dancer is (1.3020). perl, v5.8.8 On Thu, Apr 7, 2011 at 4:41 PM, J. Bobby Lopez <jbl@jbldata.com> wrote:
Upon further investigation, it seems to be an actual problem between WWW::Mechanize and Dancer.
In my stand-alone script, as soon as I "use Dancer;", the script hangs. If I comment out the $browser->get(); for Mechanize, the script will run fine even with Dancer loaded.
Something funky be afoot.
On Thu, Apr 7, 2011 at 3:30 PM, J. Bobby Lopez <jbl@jbldata.com> wrote:
Experiencing a problem using WWW::Mechanize in Dancer.
Here's how I'm using it: http://pastebin.jbldata.com/m230ae053
Note that I'm able to use the json_api_call() routine in a stand-alone script without issue; but within Dancer, the application just hangs.
Any thoughts?
Thanks, -Bobby