Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Perl printing in the wrong order

by Gulliver (Monk)
on Apr 29, 2011 at 13:21 UTC ( [id://901988]=note: print w/replies, xml ) Need Help??


in reply to Perl printing in the wrong order

To help troubleshoot next time try putting some print statements in to announce each step with couter values, filenames being opened, etc. Inside loops I like to put in things like

my $file=$logpath . $ip; print "\$counter=$counter: opening $file\n" if $debug; print "\$counter=$counter: printing $date to $file\n" if $debug;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2024-04-23 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found