Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: One-liner: -i without .bak?

by ysth (Canon)
on Jul 22, 2005 at 03:17 UTC ( [id://477086]=note: print w/replies, xml ) Need Help??


in reply to One-liner: -i without .bak?

-i without suffix is only possible if your OS can rename open files; Windows can't. Cygwin perl defaults to .bak (so ported scripts using just -i at least run, if a little differently), while Win32 perl requires a backup extension and complains "Can't do inplace edit without backup." if one is not given.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found