in reply to Trouble using File::Spec::rel2abs with Windows

Wild guess - from perldoc File::Spec:
Since File::Spec is object oriented, subroutines should not be called directly, as in: File::Spec::catfile('a','b'); but rather as class methods: File::Spec->catfile('a','b'); For simple uses, File::Spec::Functions provides convenient functional forms of these methods.
HTH

Replies are listed 'Best First'.
Re^2: Trouble using File::Spec::rel2abs with Windows
by GrandFather (Saint) on Jul 29, 2005 at 09:51 UTC

    Argh! That sums up most of my day!

    You are exactly right and I now recall reading that in the docs too! Thank you.


    Perl is Huffman encoded by design.