http://qs321.pair.com?node_id=11118364


in reply to Re^5: Efficient way to verify scalar contents
in thread Efficient way to verify scalar contents

you are right, I had a bug in the uppercase rule!

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