pudge@pobox.com (Chris Nandor) writes: }I was just playing with Data::Dumper and %ENV, which you may notice in }MacPerl 5.1.5r4 is quite special (you can add anything to %ENV in your }preferences). Including one thing I've always wanted to be able to do. If you define PERL5LIB, you can override the Preferences...Libraries search order for libraries. That means you can get your own stuff looked for ahead of the MacPerl Ä:lib defaults. Paths should be put in to PERL5LIB as comma separated full Mac paths. The path "wherever:MacPerl Ä:lib:" always gets expanded into "wherever:MacPerl Ä:lib:MacPPC" and "wherever:MacPerl Ä:lib:" (and I presume it's "wherever:MacPerl Ä:lib:Mac68K:" or something like that, on 68k machines), and ":" and "Dev:Pseudo:" always get added on the end by default. So, for example, when I want to find libwww-perl-5.15 (give me a few days to construct an installer) and libnet-1.0601 (not ready for prime time) ahead of the libwww-perl-5.13 and libnet-1.0501 that now come with 5.15r4, I set PERL5LIB to: The Black Pits:PERL5LIB:,The Black Pits:Applications:MacPerl Ä:lib:,The Black Pits:MacPerl_scripts:lib: and get my usual MacPerl search path reordered the way I want it. } } }-- }Chris Nandor pudge@pobox.com http://pudge.net/ }%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10 1FF7 7F13 8180 B6B6']) }#== MacPerl: Power and Ease ==# }#== Publishing Date: Early 1998. http://www.ptf.com/macperl/ ==# --- Paul J. Schinder NASA Goddard Space Flight Center Code 693, Greenbelt, MD 20771 schinder@pjstoaster.pg.md.us ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch