my $uppercase = sub { /[a-z]/ ? "" : "has no uppercase character" };
should be
my $uppercase = sub { /[A-Z]/ ? "" : "has no uppercase character" };
C&P is your enemy! =)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^6: Efficient way to verify scalar contents
by LanX
in thread Efficient way to verify scalar contents
by x_stream3m
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |