Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Reaped: unable to read and print a file

by NodeReaper (Curate)
on Dec 13, 2012 at 21:31 UTC ( #1008732=perlquestion: print w/replies, xml ) Need Help??
NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

This node was taken out by the NodeReaper on Dec 13, 2012 at 22:09 UTC
Reason: [ww]: Reap: basicly a repeat of last node in opened file being overwritten

You may view the original node and the consideration vote tally.

  • Comment on Reaped: unable to read and print a file

Replies are listed 'Best First'.
Re: unable to read and print a file
by davido (Archbishop) on Dec 13, 2012 at 21:52 UTC

    <> is an input stream iterator. FILE4 was opened for output. If that doesn't set off any alarm bells in your head, it should.

    Gah! Apparently I've got bats in my belfry. :)

    No point fixing to enumerate the real problems here, as the thread is duplicated in opened file being overwritten.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1008732]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2017-02-26 17:08 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (376 votes). Check out past polls.