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

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

by ww (Archbishop)
on Mar 26, 2011 at 20:21 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://895695]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-24 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found