in reply to
Re: What would you do?
in thread
What would you do?
Just a little tighter, without getting too obfuscated:
$list[$_ * 2] = 'hi' for 0 .. @list / 2;
Comment on
Re: Re: What would you do?
Download
Code
In Section
Seekers of Perl Wisdom