SPUG:Here documents

Brian Hatch spug at ifokr.org
Fri May 2 14:06:38 CDT 2003

Ok, I should know the answer to this...

Is there any way to allow a HERE document delimiter to be indented?  Ala

	if ( blah1 ) {
		while ( blah2 ) {
			unless ( blah3 ) {
				$something = <<EOM
					Here's my text
					ain't it fun

Instead of having EOM at position 0 on the line?

Brian Hatch                  Smith & Wesson:
   Systems and                The original
   Security Engineer          Point and Click
http://www.ifokr.org/bri/     device.

Every message PGP signed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/spug-list/attachments/20030502/b35ef807/attachment.bin

More information about the spug-list mailing list