in reply to Re^5: What is the difference between $array[1] and @array[1]?
in thread What is the difference between $array[1] and @array[1]?
You don't have a problem with that? I think it's a pointless irregularity.@a[1,2,3,4]; # Ok. @a[1,2,3]; # Ok. @a[1,2]; # Ok. @a[1]; # Warning. @a[1,]; # Good boy, you know the secret handshake.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: What is the difference between $array[1] and @array[1]?
by ikegami (Patriarch) on Apr 07, 2009 at 22:30 UTC |