Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

RE: RE: Perl/Tk Chatterbox Client

by tye (Cardinal)
on Jul 25, 2000 at 20:32 UTC ( #24301=note: print w/ replies, xml ) Need Help??


in reply to RE: Perl/Tk Chatterbox Client
in thread Perl/Tk Chatterbox Client

This is easier to type:

perl -pe 'chomp;s/^\+//||s/^/\n/;END{print"\n"}' # Unix perl -pe "chomp;s/^\+//||s/^/\n/;END{print qq.\n.}" # Win32

And you can drop the END{...} part if you just append an extra blank line to the input or don't mind the missing final newline on the output.


Comment on RE: RE: Perl/Tk Chatterbox Client
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2015-07-30 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls