On Tue, Jan 11, 2011 at 10:19 AM, John W. Krahn <jwkr...@shaw.ca> wrote:
> foreach (@arr) { > push @new, $_; > } > > Trying to use a scalar as the first argument to push will result in an > error message. > > Doesn't make the original any less wrong, but as an aside, that's no longer true on 5.13.7+ Perls. http://www.effectiveperlprogramming.com/blog/756 Brian.