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

Re: Re: Re: On timely destruction?

by Anonymous Monk
on Aug 28, 2002 at 02:10 UTC ( #193338=note: print w/replies, xml ) Need Help??


in reply to Re: Re: On timely destruction?
in thread On timely destruction?

The main problem that I see is that people may do a lot of suffering from buffering. For instance in a function they write to a file. But they don't have an explicit close, so it doesn't get flushed until gc. Elsewhere you interact with the same file (perhaps you called the same function again) and get all confused when data that you know has been written, hasn't been. (And since you are sure that it has been written - a fact that you can verify by looking at it in an editor - you will look everywhere else for the problem instead...)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://193338]
help
Chatterbox?
[stevieb]: here I thought my Perl code was wrong, but it turns out I had a poor miscoonception of [https://arduino. stackexchange.com/ questions/42879/ reading-an-output- analog-pin-with-an -input-analog-pin
[stevieb]: meh... I'll try again
[stevieb]: I thought my Perl code was bad, but I misunderstood Arduino pins.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-07-22 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (336 votes). Check out past polls.