Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Elderian's scratchpad

by Elderian (Sexton)
on Jun 30, 2004 at 11:57 UTC ( [id://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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found