in reply to Re: Reading parts of array elements
in thread Reading parts of array elements
my $first_char = substr $foo[0], 0, 1;
is much clearer, at least to my eye, probably executes faster and is faster to type too. What you might call a 'win win win' scenario.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Reading parts of array elements
by pid (Monk) on Dec 09, 2009 at 11:31 UTC |