SPUG:Here documents

SPUG-list-owner tim at consultix-inc.com
Fri May 2 17:33:18 CDT 2003


On Fri, May 02, 2003 at 03:17:01PM -0700, Bill Campbell wrote:
> On Fri, May 02, 2003 at 01:15:15PM -0700, Brian Hatch wrote:
> ...
> >I think I'll just stick with qq( ... ) -- I love '%' in vi,
> >and that'll mostly do what I need.
> 
> That's why my shell scripts have funny comments #{ and #} on things like
> case and if statements (and python's lack of braces and strange treatment
> of whitespace is why I stick to perl :-).
> 
> Bill

Clever! You've turned the "match braces even within comments" bug
into a feature!


-Tim
*------------------------------------------------------------*
|  Tim Maher (206) 781-UNIX  (866) DOC-PERL  (866) DOC-UNIX  |
|  CEO, JAWCAR ("Just Another White Camel Award Recipient")  |
|  tim at Consultix-Inc.Com  TeachMeUnix.Com  TeachMePerl.Com   |
*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*
|  Watch for my  Book: "Minimal Perl for Shell Programmers"  |
*------------------------------------------------------------*



More information about the spug-list mailing list