Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Command Switch -i prints to screen not file (up-guessed)

by LanX (Saint)
on Dec 29, 2020 at 17:36 UTC ( [id://11125945]=note: print w/replies, xml ) Need Help??


in reply to Command Switch -i prints to screen not file

It's originally meant for command line use with -e.

But you are trying to use it inside a script, right?

UPDATE

I can't test right now, but my guess is that slurping the whole file first leads to a closing effect.

I'd try editing line by line ...

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re: Command Switch -i prints to screen not file (up-guessed)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found