Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Inserting javascript into perl script

by bart (Canon)
on Nov 18, 2002 at 00:44 UTC ( [id://213632]=note: print w/replies, xml ) Need Help??


in reply to Inserting javascript into perl script

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.
  • Comment on Re: Inserting javascript into perl script

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://213632]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-07-14 17:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.