[Dancer-users] Problem with WWW::Mechanize in Dancer

J. Bobby Lopez jbl at jbldata.com
Thu Apr 7 22:47:50 CEST 2011


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 at 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 at 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
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110407/e9e9aff9/attachment-0001.htm>


More information about the Dancer-users mailing list