[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Serial.pm



On Mon, 17 Jul 2000 17:59:32 -0700, David Atherfold wrote:

>My directory
>structure (or is it a folder structure) from root is
>MacPBHD::Macperl:site_perl:mac.

(Actually two colons? I don't think so)

Actually, Mac::Serial needs a folder Mac that is accessible through
@INC, and inside that Mac folder, Serial.pm must be found.

>When I attempt to run the master.t test
>file in the "t" folder I am getting an error "Can't locate Mac/serial.pm
>in @INC. The line giving me the error is "use Mac::serial;"

It sounds as if MacPBHD:MacPerl:site_perl isn't in @INC. It is supposed
to be in there. If necessary, add it, through preferences -> libraries.

Oh, and altough the Mac isn't case sensitive, Perl is, and you should
name the folders and files with their proper case. So the "mac" folder
should be written as "Mac". Also, I think it's "use Mac::Serial;", not
"Mac::serial"; capital "S".

-- 
	Bart.

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org