Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Need a little help appending lines

by shmem (Chancellor)
on Sep 12, 2007 at 21:23 UTC ( #638684=note: print w/replies, xml ) Need Help??


in reply to Re^3: Need a little help appending lines
in thread Need a little help appending lines

Precaution against data loss is an entirely different thing, though related. But that concern doesn't justify marking in-place edits as bad idea, more so generally.

Perl wouldn't have the -i switch if doing in-place edits wasn't a good idea. Generally speaking.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re^4: Need a little help appending lines

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2023-01-28 19:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?