Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: A better way to print

by buckaduck (Chaplain)
on Mar 18, 2002 at 16:28 UTC ( [id://152507]=note: print w/replies, xml ) Need Help??


in reply to A better way to print

For the daring; change your output record separator. This allows you to automatically send a "\n" after every print statement. In fact, this is done for you automatically if you use the -l flag on Perl's command line:

#!/usr/local/bin/perl -l use warnings ; use strict ; my $one = 1 ; until ($one == 100000) { print $one++ ; }

buckaduck

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-28 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found