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

Re: [MacPerl] @INC from MPW perl?



At 16.04 -0800 2000.02.08, Christopher A. Corbell wrote:
>I had some search paths set in MacPerl, but these
>apparantly aren't recongized when running a script
>from the MPW shell.
>
>Can anyone tell me how to edit the perl tool startup
>file to add search paths for modules, or else how
>to cause the tool to import MacPerl's @INC?
>
>I've worked around it with 'use lib' in the source but
>would still like to know...

This is my Perl file in my MPW:Startup Items folder.

### MPW startup file for Perl, generated by Install.MPW_Perl
#
# This file contains definitions necessary to run the MacPerl MPW tool
#

Set MACPERL  'Bourque:Prog:MacPerl =3D9F:'
=3D09Export MACPERL        # The path to the MacPerl libraries and docs
Set PERL5LIB "{MACPERL}site_perl:MacPPC,{MACPERL}site_perl,{MACPERL}lib"
 =3D09Export PERL5LIB       # The path to the MacPerl libraries
Set TMPDIR "Bourque:Temporary Items:"
 =3D09Export TMPDIR
Set EDITOR "R*ch"
 =3D09Export EDITOR
Set HOME "Bourque:System Folder:Preferences:"
 =3D09Export HOME
Set Shuck "{MACPERL}Shuck {MACPERL}lib:"
=3D09Export Shuck          # The path to the MacPerl documentation viewer

--=3D20
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey =3D3D ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

# =3D3D=3D3D=3D3D=3D3D=3D3D Want to unsubscribe from this list?
# =3D3D=3D3D=3D3D=3D3D=3D3D Send mail with body "unsubscribe" to macperl-re=
quest@macp=3D
erl.org