Thanks ikegami and BrowserUk I stand corrected.
I am surprised that perl is inefficient with sparse arrays. I guess that if I need to create one, I should in future use a hash with numbers as the keys.
In reply to Re^4: Array or Hash
by chrestomanci
in thread Array or Hash
by palanisamy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |