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

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

Thread Previous | Thread Next
From:
Dr.Ruud
Date:
August 25, 2008 03:26
Subject:
Re: [PATCH] Add open "|-" and open "-|" to perlopentut
Message ID:
20080825102623.1277.qmail@lists.develooper.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About