Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Removing first part of string with regex

by balakrishnan (Monk)
on Jan 02, 2009 at 13:31 UTC ( #733752=note: print w/ replies, xml ) Need Help??


in reply to Removing first part of string with regex

U can also go by this,

open(FH,"1"); map { s/^[^.]*\.// && print; } (<FH>);


Comment on Re: Removing first part of string with regex
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2016-02-08 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (276 votes), past polls