Just test $#capitals
say $#capitals ? 'Lots of capitals' : "Just one: @capitals";
In reply to Re: Perl Array - What an array contains
by hippo
in thread Perl Array - What an array contains
by rahulme81
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |