Skip to content Skip to sidebar Skip to footer

Jquery Inside Here-doc Not Working

Is it possible to include JQuery in the here-doc section of perl. I tried but no success. Here is my code. my $cgi = CGI->new();print header();print start_html('JQuery in perl')

Solution 1:

A here-doc works similar to a double-quoted string: variables are evaluated. As $( is actually a variable in Perl it will get replaced by the process' real group ID. Escape it with a backslash.


Post a Comment for "Jquery Inside Here-doc Not Working"