Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Best way to validate a string as a color?

by Your Mother (Archbishop)
on Oct 17, 2017 at 17:00 UTC ( [id://1201519]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Best way to validate a string as a color?
in thread Best way to validate a string as a color?

You misspelled "color." So, close though... :P

perl -MString::Approx=amatch -le 'print "OK" if amatch("color", "colou +r")' OK

Replies are listed 'Best First'.
Re^4: Best way to validate a string as a color?
by LanX (Saint) on Oct 17, 2017 at 17:51 UTC
Re^4: Best way to validate a string as a color?
by pra (Initiate) on Oct 18, 2017 at 11:07 UTC

    Yes, I know. However, "color", although incorrect, is the spelling used in Perl.

      Now... I can't tell if you are extending the gag or didn't get it. :P

        Got it, but decided to take it seriously anyway!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-26 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found