Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 lurking in the Monastery: (5)
As of 2014-12-20 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (95 votes), past polls