Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Flip-flop reset?

by Dietz (Curate)
on Aug 30, 2006 at 06:02 UTC ( [id://570315]=note: print w/replies, xml ) Need Help??


in reply to Flip-flop reset?

You could make sure that your last array element always ends with a newline before processing it, to use your existing code:

$arr[-1] .= "\n";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-03-29 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found