in reply to Re: Accessing javascript variable from perl
in thread Accessing javascript variable from perl

>   return JSON.stringify(leg);

Does one really need return in an eval?

Looked into the documentation and it doesn't seem so.

But of course you know the author of WWW::Mechanize::PhantomJS better than me... ;)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice