in reply to How to Open Files from Subdirectory
Is it me or are you really trying to use the /files device instead of '~/Myperl/subdir/' which is likely to be on the /home device?
Just in case it's the real problem, the following code would not work:
But this mightopen my $fh, '<~/Myperl/files/data.pri' or die "$! - unix specific";
open my $fh, "<$ENV{HOME}/Myperl/files/data.pri" or die "$! - one laye +r of problem removed";
One world, one people
|
|---|