7 Apr
2011
7 Apr
'11
8:41 p.m.
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