Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: truncating a line

by tilly (Archbishop)
on Jul 01, 2003 at 16:18 UTC ( [id://270524]=note: print w/replies, xml ) Need Help??


in reply to Re: truncating a line
in thread truncating a line

Removing an if is only worthwhile if you still have a correct solution.

Yours does not add the requested "..." when it is needed. (And like the other RE solution will also mess up if there is a newline in there.)

Replies are listed 'Best First'.
Re: Re: Re: truncating a line
by svsingh (Priest) on Jul 01, 2003 at 20:27 UTC
    Argh. Thanks tilly. I was so jazzed that I knew how to approach the first half, I overlooked the second. Read the spec, read the spec, read the spec.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://270524]
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: (2)
As of 2024-04-25 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found