Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: limit output filesize

by bart (Canon)
on Jul 08, 2005 at 19:28 UTC ( #473550=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open OUT, ">test.txt";
    for (1 .. 1000) {
        print OUT "Hello, Perlmonks!\n" x 10;
        print -s OUT;
    }
    
  2. or download this
    open OUT, ">test.txt";
    my $fh = select OUT;
    ...
        print OUT "Hello, Perlmonks!\n" x 10;
        print -s OUT;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2023-10-04 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?