[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perl variable within Javascript?



Remember that Perl and Javascript are on different sides of the
fence.  Perl is server-side; Javascript is client.side.

If you're creating your Javascript dynamically w/Perl, then you're
fine.  You just print the value of your variable into the Javascript that
gets passed back to the client.


xoox,
Andy

--
# Andy Lester
%_=split';','.; Perl ;@;st a;m;ker;p;not;o;hac;t;her;y;ju';
print map $_{$_}, split //,
'andy@petdance.com'