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>);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://733752]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2017-09-22 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (255 votes). Check out past polls.

    Notices?