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

Re: [FWP] Goal oriented programming




>     foreach (split //, $line) {
>       $num = ord $_;
>       $num > 127 and warn "ASCII value exceeds 127.\n";
>     }

>     "process each of the characters in the string, in turn"

Funny, to me this says: "split line into an list of characters, 
foreach character process..."

I guess I would be a better or funner perler if I 'heard' it the
way you did.

I don't think dis stincts at all:

>    for ($i=0; $i < length($line); $i++) {
>        ...
>    }

I probably have way too much fun with it!

==== Want to unsubscribe from Fun With Perl?
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org