Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Just another Perl shrine
 
PerlMonks  

Elderian's scratchpad

by Elderian (Sexton)
on Jun 30, 2004 at 11:57 UTC ( #370740=scratchpad: print w/ replies, xml ) Need Help??

I wrote a wrapper script for a standalone application which relies on some configuration files. These are created by the perl script right befor the application is called.

The application produced wrong results, because some of the configuration files were empty. The log showed that they were written correctly.

Now i found the reason: The file seems to take its sweet time until it makes the newly created config files publicly available. If the application is called before that time period, it opens the config files, which are empty.... if i put a unless (-e $config_file_name) before the creation of the configuration file and wrap it up in a loop, it works.

Have you experienced this phenomenon?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-04-21 10:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (492 votes), past polls