Nasser Gazi wrote:
> I'm trying to use the catfile method in the File::Spec module. The
> following program (called test.pl):
>
> Use File::Spec::Unix;

You should

    use File::Spec;

It works out for itself what platform you're on, platform-specific
classes contain only stuff unique to that system. File::Spec
does all the main work.

> $c = catfile("aa", "bb"); # line 2
>
> Gives this error: "Undefined subroutine &main::catfile at test.pl
> line 4".

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to