in reply to Perl Array - What an array contains
Just test $#capitals
say $#capitals ? 'Lots of capitals' : "Just one: @capitals";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Array - What an array contains
by pryrt (Abbot) on Aug 25, 2016 at 13:07 UTC | |
by AnomalousMonk (Archbishop) on Aug 28, 2016 at 21:40 UTC | |
by hippo (Archbishop) on Aug 25, 2016 at 13:27 UTC |