Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Perl delete function

by wind (Priest)
on Dec 23, 2013 at 07:36 UTC ( #1068153=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl delete function
in thread Perl delete function

That is why my code tested for eof (end of file) for both file handles. To complete the validation, verify that it reached the eof for both handles after the while loop.

*edited my code to demonstrate*

Replies are listed 'Best First'.
Re^4: Perl delete function
by annel (Novice) on Dec 23, 2013 at 07:45 UTC
    Thanks for tips. It works fine! I never knew about eof before until now. New thing to pick up.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-12-03 23:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?