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

Re^3: matching patterns

by SamCG (Hermit)
on Apr 11, 2006 at 22:51 UTC ( #542698=note: print w/replies, xml ) Need Help??


in reply to Re^2: matching patterns
in thread matching patterns

Perhaps a minor point, but why are you capturing "port=" and "unit=" in your regexes
if ($line =~/(port=([0-9]+))/)
? Couldn't it just as easily be
if ($line =~/port=([0-9]+)/){ $port= $1; };


-----------------
s''limp';@p=split '!','n!h!p!';s,m,s,;$s=y;$c=slice @p1;so brutally;d;$n=reverse;$c=$s**$#p;print(''.$c^chop($n))while($c/=$#p)>=1;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2022-01-20 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?