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

Re: [MacPerl] runtime newbie ?



Have you moved this script to a different machine? The runtime should be
able to find the modules folder, but if it can't, there are two options: 1)
use RuntimeBuilder to make your runtime (it will embed modules into the
runtime); or 2) add the absolute path to the modules folder to @INC:
    unshift @INC, "iMac:MacPerl Ÿ:lib:";
You may want to add the site_perl folder as well.

-K

"Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup."


> From: g3pb <g3pb@alaska.net>
> Date: Tue, 10 Oct 2000 20:22:26 -0800
> To: MacPerl List <macperl@macperl.org>
> Subject: [MacPerl] runtime newbie ?
> 
> i am trying to save a script as a 'runtime version' that contains the
> following use statement:
> 
> use Mac::StandardFile;
> 
> when running from the MacPerl app the script functions as expected, when run
> from the Finder after saving as runtime version i get the following error:
> 
> # Can't locate Mac/StandardFile.pm in @INC.
> File 'iMac:Desktop Folder:test1'; Line 3
> # BEGIN failed--compilation aborted.
> File 'iMac:Desktop Folder:test1'; Line 3
> 
> what am i doing wrong?
> 
> thanks
> 
> -- hcir
> mailto:g3pb@alaska.net
> 
> 
> 
> # ===== Want to unsubscribe from this list?
> # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org
> 


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