Tracy Hughes <[EMAIL PROTECTED]> wrote:
>
> I took a look at FILESPEC.PM and found one line which it says to
> uncomment when using on other machines, and uncommented:
> use AutoLoader;
>
> Then, I got the following errors:
> Cant locate auto/VMS/Filespec/autosplit.ix in @INC...
VMS::Filespec should work (nod a few internal tricks in RMS routines) on
any system. I think my instructions were deficient, though. When run on
a non-VMS system, it relies on the Autoloader to pick up routines that're
XSUB under VMS. If you're planning to use several of the routines, this
is probably a loss; it's likely better to just delete the C<use AutoLoader>
and the C<__END__> token and compile the whole thing. If you're using it
for one or two routines, it may be a net win to uncomment the C<use
AutoLoader> and add AutoLoader to C<@ISA> (and then autosplit it; see the docs
in Autosplit.pm for details).
Sorry for the incomplete instructions. I'll get a patch in for future
reference.
As a few others mentioned, you can also use File::Spec as an up-and-coming
"portable" interface for file translation. At the moment, though,
File::Spec::VMS use VMS::Filespec internally, so you need it around anyhow.
Please let me know if you have any problems.
Regards,
Charles Bailey [EMAIL PROTECTED]