Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 examining the Monastery: (20)
As of 2014-12-18 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (58 votes), past polls