http://www.perlmonks.org?node_id=751630


in reply to the basic datatypes, three

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