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;
$list[$_ * 2] = 'hi' for 0 .. @list / 2;
|
---|
In Section
Seekers of Perl Wisdom