Randal L. Schwartz wrote on 26.07.2005: >The following message is a courtesy copy of an article >that has been posted to perl.beginners as well. > >>>>>> "Jan" == Jan Eden <[EMAIL PROTECTED]> writes: > >Jan> chdir "/some/dir"; > >This might have failed... > >Jan> mkdir "newsubdir/" or die "$!"; > >which would make this in the wrong directory. Are you checking that? > Yes, I am. I printed out the current working dir after executing chdir. I seem to have made a stupid mistake at some point which I am unable to reconstruct. Sorry for wasting everyone's time with this.
BTW, I have just rewritten a program to be completely OO with the help of Leaning Perl Objects, References and Modules. Great book. Thanks, Jan -- Clothes make the man. Naked people have little or no influence on society. - Mark Twain -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>