Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Scanning a file for a match, printing different part of the line when found.

by ww (Bishop)
on Mar 26, 2011 at 20:21 UTC ( #895695=note: print w/ replies, xml ) Need Help??


in reply to Re: Scanning a file for a match, printing different part of the line when found.
in thread Scanning a file for a match, printing different part of the line when found.

Since OP wasn't specific about how "Name" is constructed, ++

But note that this will not satisfy the op by printing the (whole) name field, if "Name" is comprised of more than one word (for example: Firstname MI Lastname), because of the \b


Comment on Re^2: Scanning a file for a match, printing different part of the line when found.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-12-25 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls