Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: inplace file editing

by Anonymous Monk
on Jun 11, 2001 at 11:40 UTC ( #87416=note: print w/replies, xml ) Need Help??


in reply to Re: inplace file editing
in thread inplace file editing

sorry, what i meant to say was
$ARGV[0]="test"; $^I=""; undef $/; while(<>) { print STDOUT "hello\n" }
(which stops hello getting printed to the file)...but it still prints twice. can ANYONE help?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2022-05-20 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (72 votes). Check out past polls.

    Notices?