Perl prints large chunks of code to standard out.
Here's the syntax:
print <<STOPTAG;
#stuff goes here
STOPTAG
This is the same as putting a print command before the text in the "#stuff goes here" block. It's pretty sweet.
Thanks to http://www.pageresource.com/cgirec/ptut4.htm.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment