Do you know where your variables are? | |
PerlMonks |
Re^2: How to store the value of a Javascript function as a Perl variableby tobyink (Canon) |
on Jun 23, 2014 at 23:37 UTC ( [id://1090996]=note: print w/replies, xml ) | Need Help?? |
No it isn't. If the data being shared is very simple (a few strings or numbers) there's a somewhat easier method: cookies. Javascript is able to manipulate cookies; so are server-side scripts.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|