in reply to Perl's Bad Ideas
In fact, if you didn't have $[, you probably wouldn't need $#var...
Yuck.$ perl -e'@a=qw(a b c); print "$#a\n"; $[=3; print "$#a\n"' 2 5
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl's Bad Ideas
by Dog and Pony (Priest) on Apr 06, 2002 at 22:05 UTC |