Arrays are sorted and consume less memory than hashes, but allow only integer indexes (instead of arbitrary strings as hash indexes).my @var; for my $a (1..10) { $var[$a] = 5 + $a; }
In reply to Re: Concatenation on Varibale Name
by aitap
in thread Concatenation on Varibale Name
by dushyant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |