in reply to What does chdir ?

What do I miss ? What is the difference ?

The difference is the two paths aren't identical

Its like when you try to use your key on my front door, it doesn't work, cause the path is different

Also use absolute paths , and do error checking, like

use autodie qw/ chdir /; chdir ...;

Replies are listed 'Best First'.
Re^2: What does chdir ?
by pcouderc (Monk) on Feb 16, 2017 at 08:53 UTC
    Sorry (I have corrected a missing point before the /), but I do not see the difference. So I am sorry I do not understand your answer.
    About absolute paths, in this case I would like to use relative paths if possible.