At 19.11 -0400 1999.04.30, Richard Gordon wrote: >I want to do something that uses DB_File and was a little surprised >to find that it is not installed on my client's Solaris server. Am I >correct in thinking (actually just hoping) that I could take DB_File >from the MacPerl distribution and just copy it into their site_perl >directory as long as the line endings are okay? No. It must be compiled. >I know about all the >makefile stuff, but this would be a lot simpler if it will work. In >general, can you just swap .pm files around like that? In general, no. Sometimes, yes. Sometimes module files are created by the Makefile or something else to be platform-specific (such as with Errno or Config). Sometimes they require compilation. For the latter case, look in the module file for a "bootstrap" call. If you see it, then the module uses external code in an XS file or somesuch. In this case, you should use the AnyDBM_File module. It works almost exactly like the DB_File module, but will work on any perl platform (using whatever DBM module happens to be available). -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org