Hi,

this does not work:

mkdir "/some/dir/newsubdir" or die "$!";

while this does:

chdir "/some/dir";
mkdir "newsubdir/" or die "$!";

In the shell, I can obviously execute the former.

Is it true that in Perl, I can create a directory only within the current 
working directory?

Thanks,

Jan
-- 
These are my principles and if you don't like them... well, I have others. - 
Groucho Marx

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to