Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Print only if pattern matches

by vinoth.ree (Monsignor)
on Jan 24, 2013 at 06:42 UTC ( #1015084=note: print w/replies, xml ) Need Help??


in reply to Print only if pattern matches

because the lines,

123|1|456464|645646|4546|654~abc~dhghga~12.33.44.55.70~3713670 123|1|456464|645646|4546|654~abc~dhghga~12.33.44.55.70~3713670 123|1|456464|645646|4546|654~abc~dhghga~121322~456466874~8796896 123|2|456464|645646|4546|654~abc~dhghga~121322~456466874~6788708 123|2|456464|645646|4546|654~abc~dhghga~121322~456466874~6806
does not match your regular expression. So the grouping variable $2 and $3 has no values.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015084]
help
Chatterbox?
marto waves

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2017-11-19 11:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (279 votes). Check out past polls.

    Notices?