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

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

by hmbscully (Scribe)
on Sep 26, 2005 at 15:52 UTC ( [id://495149]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #increment file for count
    my $asrnumber = File::CounterFile->new("./asr_counter.txt");
    $asrnumber->lock();
    $asrnumber->inc;
    $asrnumber->unlock();
    
  2. or download this
    #!/usr/bin/perl
    # asr_archive.pl
    ...
      $msg->send();
    
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-20 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found