|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
> I've often used, without problem, the construct
>
> for my $foo (@bar) {
> do_stuff($foo);
> }
>
> I once saw a version of perl that wasn't happy with this (5.00x.y, I
> think). I saw another today (5.6).
'for my' was introduced in 5.6.0. Before that, it was illegal. If
you got an error message from 5.6.0, it was because of some other
error.
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
- References:
- for my ...
- From: Jeff Abrahamson <jeff@purple.com>
|
|