Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: File::CounterFile problems : access from mulitple scripts and zeroing counter

by Kanji (Parson)
on Sep 26, 2005 at 18:21 UTC ( #495177=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package File::CounterFile::Resettable;
    
    use base qw( File::CounterFile );
    ...
        }
        $self->{'value'}; # return value
    }
    
  2. or download this
    my $count = File::CounterFile::Resettable->new("./asr_counter.txt");
    $count->lock();
    $count->reset();
    $count->unlock();
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2021-11-29 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?