Above string is passed to a function defined in another script where I am storing this in an array.
my @capitals= split(/,/,$string);Sometime $string can contain only one element as London
I have a logic which requires me to check
If my @capitals array contains only 'London'
OR
it contains all elements of my @capitals.
Please help !!!
In reply to Perl Array - What an array contains by rahulme81
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |