more useful options | |
PerlMonks |
Re: Inserting javascript into perl scriptby bart (Canon) |
on Nov 18, 2002 at 00:44 UTC ( [id://213632]=note: print w/replies, xml ) | Need Help?? |
To perl, it makes no difference whether it's emitting html or Javascript. So yes, any way to print the strings to STDOUT is OK. Here-docs are nice (see perldata). They allow you to easily embed multiline literal strings in you scripts. But actually, simple quoted strings can be multiline, too.
In Section
Seekers of Perl Wisdom
|
|