in reply to Re: jQuery issue with Dancer2 (a problem summary)
in thread jQuery issue with Dancer2
Thank you.
I think I stated the problem clearly... that state is returned from the Perl Dancer2 call here: $.get(host +'/get_aux/' + aux, function(state){ as you said, but as soon as I leave that function (and get to its outer, surrounding called function), the return is undef. I'm sure it's just that I'm not explaining/understanding the JS language properly. In other words... FFS, it should be like Perl ;)
I'll have a read-through of the docs you supplied.
Cheers,
-stevieb
In Section
Seekers of Perl Wisdom