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

Re: inplace file editing

by Anonymous Monk
on Jun 11, 2001 at 20:41 UTC ( [id://87576]=note: print w/replies, xml ) Need Help??


in reply to inplace file editing

abigail: yes, im sure thats the only code. with the same code as you on my box (perl 5.6.0) i get different output. here is a transcript.
gotham:~# cat p.pl #!/usr/bin/perl -w use strict; $ARGV[0]=$0; $^I=""; undef $/; while(<>) { print STDOUT "hello\n" } gotham:~# perl p.pl hello hello gotham:~#
weird, huh?

Log In?
Username:
Password:

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

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

    No recent polls found