in reply to Re: @array[1] is valid??
in thread @array[1] is valid??
my ($firstkey) = grep {/key$/} @list; my $numberofkeys = grep {/key$/} @list;
I could see that usage if you were doing @firstkey[$of_list_nr_x], but then that doesn't emit a warning.
Unless your point is that the warning breaks orthogonality, which is not an argument I care about here.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: @array[1] is valid??
by Abigail-II (Bishop) on Aug 05, 2003 at 16:12 UTC | |
by Aristotle (Chancellor) on Aug 05, 2003 at 16:47 UTC | |
by Abigail-II (Bishop) on Aug 05, 2003 at 21:18 UTC |