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

[MacPerl] pb with @INC (fwd)



According to Laurent Bardi:
> hi ,
> 
> 
> me again:
> 
> when i save as a runtime version and i try to run the app
> he says
> "can t locate xxxx.pm in @INC"
> i ve test in an app, alone:
> print "@INC\n";
> 
> the result is local folder and some other folders that are not in rapport to
> macperl
> 
> could someone explain me that???
> 
> ps: the 2 .pm file i need are memory.pm and resource.pm

When this happens, it usually means that the Preferences
you used to create the executable did not have the correct
path to reach the given library routine.  Check your
Preferences inside of MacPerl.  Also, the program, when you
run it, should die but hang around (ie: The program stops
working but the executable shell should hang around).  When
it does this, go to the Preferences section within that
program and locate the folder/directory where the needed
routine resides.  This should clear up the problem.  :-)