http://qs321.pair.com?node_id=302339


in reply to Re: Re: How's your Perl?
in thread How's your Perl?

oops, you're right, my definition of "static" in the clarification was flawed :-)

I do mean function-scoped static like in C/C++ ofcourse

btw tachyon, your #1 solution isn't:
perl -le 'my @x = ( \$_, \$_ ); $x[0]=42; print $x[1]'