Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Output from read/write txt file

by toolic (Bishop)
on Mar 12, 2015 at 15:34 UTC ( [id://1119833]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Output from read/write txt file
in thread Output from read/write txt file

It needs to be outside of the loop because of the way I read input into the program and it's looping through line by line?
Yes.

If you have any further questions, post a small sample of your input file and the exact output you desire.

Replies are listed 'Best First'.
Re^4: Output from read/write txt file
by Hayest (Acolyte) on Mar 12, 2015 at 15:38 UTC
    Once I put my print statement outside of the loops I am getting the output I desire. Thanks again!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-28 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found