SPUG:Here documents

Lonnie Foster lonnief at pobox.com
Fri May 2 16:36:55 CDT 2003

* Brian Hatch <spug at ifokr.org> [2003-05-02 12:06 -0700]:

> Ok, I should know the answer to this...
> Is there any way to allow a HERE document delimiter to be indented?  Ala

I just ran across this recently in Perl Cookbook
(http://safari.oreilly.com/?XmlId=1-56592-243-3). I don't recall if
the specific scenario you describe was addresses, but I do remember at
least half a dozen different possible solutions to the problem. The
section to look for in the book is "1.11 Indenting Here Documents".


/|\ Lonnie Foster  <lonnief at pobox.com>  http://pobox.com/ tribble
\|/   Neque porro quisquam est qui dolorem ipsum quia
/|\   dolor sit amet, consectetur, adipisci velit. -- Cicero

More information about the spug-list mailing list