Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: If statement seems to ignore elsif and skips to else

by ww (Archbishop)
on Sep 25, 2017 at 18:56 UTC ( #1200062=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $re_start = qr/../; #match string begining with two of anything (0 
    +or more times each!)
                           # but still a potential problem: would match a 
    +null string)
                          # so, perhaps, qr/.{1).(1)/ which will not allow
    + a string 
                        # (preceding the comma in your initial set of rege
    +xen) 
                      # with anything other than two instances of somethin
    +g
                     #  or another
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2021-12-06 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?