Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: remember perl one-liners

by chanio (Priest)
on Dec 23, 2005 at 06:12 UTC ( #518707=note: print w/replies, xml ) Need Help??


in reply to remember perl one-liners

I haven't tried this...

... pop @lines; chomp(@lines); my $hist = join '', @lines; ...
Then, later, when reading you could replace ";" by ";\n"...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://518707]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2017-03-26 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (313 votes). Check out past polls.