Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Remove from character to end of line

by Abigail-II (Bishop)
on Aug 01, 2002 at 16:56 UTC ( [id://186841]=note: print w/replies, xml ) Need Help??


in reply to Re: Remove from character to end of line
in thread Remove from character to end of line

But that has to capture. You can do without capture:
s!/.*!!;
It's smaller code too. ;-)

Abigail

Replies are listed 'Best First'.
Re: Re: Remove from character to end of line
by sdyates (Scribe) on Aug 01, 2002 at 17:12 UTC

    GREAT!!!

    Not only smaller code, but smart code too. I knew there had to be an easy way. It is amazing how dumb I feel with out my reference books.

    Thanks much,
    Simon

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-25 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found