in reply to
system and -e question
Is there any explanation for that?One explanation is that $file2 exists, but it wasn't created where you expected and you're looking in the wrong place for it.
You can use File::Spec to determine the absolute path of $file2 - untested:
my $file2 = 'whatever it is';
my $abs_path = File::Spec->rel2abs($file2);
print $abs_path, "\n";
I just used File::Spec to print out the absolute path, but I cannot find the path with "ls" command. Below is the error message
ls: /home/dicty/test_programs/test/30min_run/30min_run.scoredata.XML: No such file or directory
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (386 votes),