jacques has asked for the wisdom of the Perl Monks concerning the following question:
Instead I am seeing the following:
$File::Find::name prints:
./Desktop/Perl/Module.pm
File::Spec->rel2abs($File::Find::name) prints:
C:\Documents and Settings\Jacques\Desktop\Perl\Desktop\Perl\Module.pm
Here's another example:
$File::Find::name prints:
./Perl/Module.pm
File::Spec->rel2abs($File::Find::name) prints:
C:\Documents and Settings\Jacques\Desktop\Perl\Perl\Module.pm
There is no code between the printing of $File::Find::name and the printing of File::Spec->rel2abs($File::Find::name). My platform is Windows (obviously) and I am using File::Spec version 0.87.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: File::Spec error with rel2abs
by merlyn (Sage) on Jan 07, 2005 at 03:53 UTC | |
by jacques (Priest) on Jan 07, 2005 at 04:10 UTC | |
|
Re: File::Spec error with rel2abs
by brian_d_foy (Abbot) on Jan 07, 2005 at 06:14 UTC | |
|
Re: File::Spec error with rel2abs
by jplindstrom (Monsignor) on Jan 07, 2005 at 14:00 UTC |