|
|
| more useful options | |
| PerlMonks |
Re: the basic datatypes, threeby Anonymous Monk |
| on Mar 19, 2009 at 06:05 UTC ( #751630=note: print w/ replies, xml ) | Need Help?? |
|
I think "To find the size of an array you can you can do scalar(@a) which would return 3 originally and 4 after $a[4] was set to 4;" is wrong. If you set $a[4], scalar(@a) should return 5. I think you meant $a[3]. --skr
In Section
Tutorials
|
|
||||||||||||||||||||