Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: difference in regex

by haukex (Archbishop)
on May 29, 2018 at 14:20 UTC ( [id://1215378]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    bar,x
    quz,5
    a,b,c,42
    
  2. or download this
    while (<DATA>) {
        chomp;
    ...
             { $hash{$1} = looks_like_number($2) ? $2 : 1 }
        else { $hash{$_} = 1 }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-26 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found