[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] evolution



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