in reply to Re: Re: Re: String Manupulation
in thread String Manupulation
open(OUTFILE, ">$logfile") || die "Cannot open '$logfile' for writing: + $!\n";
That will tell you why it cannot open the file. (That's what the $! variable does.) You should always check the return value of open and similar functions.
------
We are the carpenters and bricklayers of the Information Age.
The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|
|---|