Hi,
It seems that the following code gives unexpected results:

system ("cd $dir_name");
system ("pwd"); ---> this prints the old directory name not the new one. In other words, the previous (cd) command hasn't taken its effect!
Do anyone know why?

Thanks And Best Regards,
Eliyah






--
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