Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: (MeowChow) Re4: Look ahead and join if the line begins with a +

by tachyon (Chancellor)
on Apr 11, 2002 at 10:06 UTC ( [id://158272]=note: print w/replies, xml ) Need Help??


in reply to (MeowChow) Re4: Look ahead and join if the line begins with a +
in thread Look ahead and join if the line begins with a +

Touche. But.....

chomp, $lines[@lines - s/^\+//] .= $_ while <DATA>; __DATA__ + Oops, Just another Edge case

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

  • Comment on Re: (MeowChow) Re4: Look ahead and join if the line begins with a +
  • Download Code

Replies are listed 'Best First'.
(MeowChow) Re6: Look ahead and join if the line begins with a +
by MeowChow (Vicar) on Apr 11, 2002 at 10:11 UTC
    Well, didn't I say it was a vulgar solution? :-)
       MeowChow                                   
                   s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-20 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found