> -----Original Message-----
> From: Gazi, Nasser (London) [mailto:[EMAIL PROTECTED]]
> Sent: 14 February 2003 15:07
> To: [EMAIL PROTECTED]
> Subject: Help - Trying to use File::Spec module
> 
> 
> I'm trying to use the catfile method in the File::Spec 
> module. The following
> program (called test.pl):
> 
>       Use File::Spec::Unix;
>       $c = catfile("aa", "bb");       # line 2
try 

use File::Spec::Unix;
$c = File::Spec::Unix::catfile("aa", "bb");

I don't understand why sometimes it is possible to use functions from
another module without having to specify the module name in full

I would be grateful for an explanation



> 
> Gives this error: "Undefined subroutine &main::catfile at 
> test.pl line 4".
> 
> I've set PERL5LIB to the correct directory, but it still 
> doesn't work. Any
> ideas?
> 
> N.G.
> 
> 
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


The information contained in this e-mail is intended only for the individual
or entity
to whom it is addressed. Its contents (including any attachments) are
confidential
and may contain privileged information.

If you are not an intended recipient you must not use, disclose,
disseminate, copy
or print its contents. If you receive this email in error, please delete and
destroy
the message and notify the sender by reply email.



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

Reply via email to