mjd-perl-pm on Sat, 12 Oct 2002 22:29:09 -0400 |
> 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**
|
|