Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: check if string is valid with special cases (updated)

by AnomalousMonk (Bishop)
on May 15, 2018 at 14:09 UTC ( #1214557=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -MData::Dump -le
    "my $s = 'a,b,c,d,e,f';
    ...
     dd $u, $v, $w, $x, $y, $z;
    "
    ("a", "b", "c", "d", "e", "f")
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -MData::Dump -le
    "use 5.010;
    ...
     dd $u, $v, $w, $x, $y, $z;
    "
    ("a", "b", "CC", "d", "e", "fgh")
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2019-11-12 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (66 votes). Check out past polls.

    Notices?