I want to generate invoice numbers in sequence (for a shopping cart application)
I need a sub_routine to open a counter.txt file, grab the next number, update the counter.txt file and close the file. should also have file locking.
a pretty simple sub {for someone who knows perl that is} Any help would be appreciated.
I need a sub_routine to open a counter.txt file, grab the next number, update the counter.txt file and close the file. should also have file locking.
a pretty simple sub {for someone who knows perl that is} Any help would be appreciated.

