GOO! That's worse than a heredoc followed by a quick substitution! I've been reading the Apocalypse docs and pissing in my pants! Perl 6 sounds like it's gonna be different but elephant craploads of fun!
> -----Original Message----- > From: Chas Owens [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 24, 2002 4:29 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: Setting a Variable to String with \n? > > > The here string (<<END stuff END) will correctly handle > indents in Perl > 6 (or so it is said), but Perl 5 does not do the Right Thing(tm). For > cases like this I tend to write code that looks like this: > > elsif ($string == 1) { > $string = > "this is the first line\n" . > "this is the second line\n" . > "etc.\n"; > } > > -- > Today is Prickle-Prickle the 41st day of Discord in the YOLD 3168 > P'tang! > > Missile Address: 33:48:3.521N 84:23:34.786W ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]