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

Re: The Door Server

by hossman (Prior)
on Oct 07, 2002 at 05:55 UTC ( #203252=note: print w/replies, xml ) Need Help??


in reply to The Door Server

It should be possible to use two different barcodes, to detect the difference between the door opening and the door closing (based on the order of the scans within a short interval) so you could list the current status (open or closed).

As to the code at hand ... why use open(TIME,"date|"); instead of localtime ?

You might also want to change it so it updates a data file with the value of i ... that way if the script dies for any reason, you still know the total.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2023-09-26 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?