perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@cpan.org>
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:
> > http://marc.theaimsgroup.com/?l=apache-modperl&m=102874705105904&w=2
> > 
> 
> cool.  you might want to check these out too

Thanks! I didn't see those 2.

> 
> http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=102891528030133&w=2

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

> http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=102902480103484&w=2

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)'
a-b-c-dEOR

Gozer out.

> --Geoff
-- 
-- -----------------------------------------------------------------------------
Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5 (122FF51B/C634E37B)
http://gozer.ectoplasm.org/    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}'

Mime
View raw message