develooper Front page | perl.perl5.porters | Postings from August 2008

Re: [PATCH] Add open "|-" and open "-|" to perlopentut

Thread Previous | Thread Next
August 25, 2008 03:26
Re: [PATCH] Add open "|-" and open "-|" to perlopentut
Message ID:
Tom Christiansen schreef:

> My strong advice to use double-quotes in all situations save those
> rare 
> ones where you wish to wish to counter Perl's own nature is one that
> derives in *no* *part* from mere whim or personal preference.

Some time ago I came to the same conclusion. This also helped: 

$ perl -MO=Deparse -wle '
    print "abc";
    print "abc $_";
    print "abc \$_";
' 2>/dev/null |grep print

print 'abc';
print "abc $_";
print 'abc $_';

Affijn, Ruud

"Gewoon is een tijger."

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About