[sf-perl] Unusual Perl "feature"

Mike Doherty doherty at cs.dal.ca
Sun Feb 17 18:50:14 PST 2013


It also lets you flip the sign of the string:

perl -E 'say -$_ for qw( test -test +test )'

Why you would want to, I've no idea.

-Mike Doherty


More information about the SanFrancisco-pm mailing list