perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <>
Subject Re: [mp1 Patch] $r->print() handling of $\
Date Sat, 24 May 2003 11:12:00 GMT
On Thu, 2003-05-22 at 21:11, Geoffrey Young wrote:
> Philippe M. Chiasson wrote:
> > For the original report, see:
> >
> > 
> cool.  you might want to check these out too

Thanks! I didn't see those 2.


I definitely prefer my patch to that one to implement $\


This patches also discusses support $, proprely, and I think it's also a
valid idea, especially if we are going to fix $\ anyways.

I'll add it to the STATUS and work it in my own patch as well as write a
test for it. Unless somebody thinks of a good reason _not_ to support $,
as well.

For those who might not know it, $, is the output field separator, and
$\ is the output record separator, as show in:

$> perl -le '$,="-";$\="EOR\n";print qw(a b c d)'

Gozer out.

> --Geoff
-- -----------------------------------------------------------------------------
Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5 (122FF51B/C634E37B)    F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3 A5A5
Q: It is impossible to make anything foolproof because fools are so ingenious.
perl -e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}'

View raw message