[Omaha.pm] evolution

Jay Hannah jay at jays.net
Tue Apr 24 19:06:03 PDT 2007


On Apr 24, 2007, at 6:32 PM, Andy Lester wrote:
> Didn't know Perl could increment strings, didja? :-)

-laugh-  Perl's creativity never ceases to amaze me.

$ perl -lw foo.pl
Argument "x" isn't numeric in addition (+) at foo.pl line 1.
Argument "x" isn't numeric in addition (+) at foo.pl line 2.
1, 1, y

See how annoying warnings are?  :)   Interesting that + warns but ++ 
doesn't.

j



More information about the Omaha-pm mailing list