in reply to Reading parts of array elements
Sometimes I wonder if we could do something like $foo[0][0], $foo[1][0], etc, things might become easier.
I always do my $first_char = (split ('', $foo[0]))[0]; when I met similar problems.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Reading parts of array elements
by GrandFather (Saint) on Dec 09, 2009 at 07:52 UTC | |
by pid (Monk) on Dec 09, 2009 at 11:31 UTC |