Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This prints the result as unable to open the file.... How can i solve it???my $resultfile="test-result-".`date +%d_%b_%H-%M`; $dir="results"; `mkdir ./results/$resultfile`; $path="./results/$resultfile"; ; open(F, ">> $path/result.log") || die "cannot create resultfile:$!\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating result file with time stamp
by Utilitarian (Vicar) on Jun 17, 2009 at 07:51 UTC | |
|
Re: Creating result file with time stamp
by Anonymous Monk on Jun 17, 2009 at 06:15 UTC | |
by Anonymous Monk on Jun 17, 2009 at 06:18 UTC | |
by Anonymous Monk on Jun 17, 2009 at 06:31 UTC | |
by Anonymous Monk on Jun 17, 2009 at 06:38 UTC | |
by apl (Monsignor) on Jun 17, 2009 at 12:40 UTC | |
by Anonymous Monk on Jun 17, 2009 at 06:41 UTC | |
by Anonymous Monk on Jun 17, 2009 at 06:56 UTC | |
by wol (Hermit) on Jun 17, 2009 at 12:54 UTC | |
|
Re: Creating result file with time stamp
by bichonfrise74 (Vicar) on Jun 17, 2009 at 17:37 UTC |