Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^6: Efficient way to verify scalar contents

by LanX (Cardinal)
on Jun 22, 2020 at 13:22 UTC ( #11118364=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11118364]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2021-02-28 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?