If this is a quick and dirty then something like: system "touch $filename"; will do the trick - although make sure that you have the right filename.
More elegantly could be acheived with a locking module, as you suggest. You can install modules yourself even if you are not the site admin. Download it off CPAN and then start using perl Makefile.PL PREFIX=/home/me/my-perl and the put use lib "/home/me/my-perl/"; at the top of you script. This will get you script to check this directory as well as the standard ones for modules.
Also, I think you have a spare " in your open command...
--tidiness is the memory loss of environmental mnemonics
In reply to Re: File Creation
by EvdB
in thread File Creation
by nimdokk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |