On 11/6/98 at 7:32 AM, w e b s l a v e <PPRODOEHL@qgraph.com> shipped these bits: >Hmmm, I had thought extra modules go in the lib folder, is this wrong? >Is the site_perl folder something I have to create? What about duplicates, >etc...? It's not created by default. Maybe it should be. site_perl is where locally installed modules are supposed to reside, though (as mentioned below) "site_perl" is the conventional name. It's actually the default name suggested by the "Configure" script when installing Perl on Unixish boxen. >Can someone explain site_perl? I think I missed the boat on this one! >From The Book (<http://yggdrasil.com/~rdm/MP/310.Extensibility.html#04>, in this case): > When MacPerl looks for a module, it looks in the folders specified in > the Libraries Preferences (found under the Edit menu). Specificially, it > examines the folders in the specified order, checking for the > requested module. Naming conflicts are not an issue for MacPerl (it > just grabs the first match it finds), but programmers must keep them > in mind. > > Create a new folder (conventionally named site_perl) for storing > locally-added modules. Then, in the Preferences dialog, add the > folder to MacPerl's search list by clicking on Add Path and selecting > the directory.8 > And that footnote reads: >If you name the folder site_perl and put it in the MacPerl folder, you >do not need to add it to your preferences, as that folder name is >specially added for you. But, when you upgrade your version of >MacPerl, don't forget to retain a copy of the folder! On the Mac, I used to keep my site_perl folder outside the MacPerl folder hierarchy, since I didn't have to remember to move it in and out when installing new versions. But then I had to remember to add it to the prefs. Six of one, half dozen of the other. Now I just practice the First Great Virtue and keep it in the MacPerl folder. j >tia > >Pete -- #!/usr/bin/perl $dot="\x2e";$lt="\x3c";$gt="\x3e";$at="\x40"; print "J Mignault ${lt}mignault${at}nytimes${dot}com${gt}\n"; $yow = qq(I have seen these EGG EXTENDERS in my Supermarket.. .. I have read the INSTRUCTIONS...); ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch