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

Re: [FWP] That was productive...



John Porter writes:
> Now, it looks to me like the $_ in the loop got
> mutated into $e.  (Who did that?)
> 
> For that, yes, you'd probably want "my $e".

Guilty.  I'll use the Salzenberg Ploy, and say that society is to
blame.  Or I'll blame my infant (I never imagined he'd be such a
*useful* child).

ObPerl: one of the mistakes I find myself making often (but which,
thank goodness, use strict catches) is saying

  @names = ....;

and then

  $name[1]

i.e., plural when I talk about the array as a whole, but singular when
I talk about an element.

Nearly thirty years of working hard at the English language, and it's
all wasted :-)

Nat

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe