props has asked for the wisdom of the Perl Monks concerning the following question:
but as usually it doesn't work. Maybe i shouldn't be using these functions;$base = File::Spec->rootdir(); $path = 'home/me/test/'; $rel_path = File::Spec->abs2rel( $path, $base ) ; chdir $rel_path;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unix-Windows pathnames
by syphilis (Archbishop) on Oct 13, 2007 at 23:18 UTC | |
by props (Hermit) on Oct 14, 2007 at 08:13 UTC | |
|
Re: Unix-Windows pathnames
by graff (Chancellor) on Oct 13, 2007 at 22:02 UTC | |
|
Re: Unix-Windows pathnames
by NiJo (Friar) on Oct 14, 2007 at 17:10 UTC |