tells the program that if the filehandle LOG fails to initialize to print the error messageMay I ask you where you get this idea?
If you want to know whether the open failed, you need to check the return code of the open function which you used to open the file. If it is false (i.e. undef, 0 or ''), the error message can be found in "$!".
In reply to Re^3: Can't get a simple log creator to work!
by rovf
in thread Can't get a simple log creator to work!
by aquinom85
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |