in reply to Unreferenced scalar?
withif (-e $doc) {
Then in the future you can manually check for the existance of the file, see if the proper directory is being used, etc.} else { print STDERR "File '$doc' does not exist!\n"; }
As far as your root problem, I won't shoot my foot off...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unreferenced scalar?
by HamNRye (Monk) on May 19, 2008 at 17:29 UTC |