Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!dsl.pitt.edu!pitt!jupiter!al From: al@jupiter.cs.pittsburgh.edu (Alan Martello) Newsgroups: comp.lang.perl Subject: "standalone" perl scripts Message-ID: <7007@pitt.UUCP> Date: 2 Mar 90 16:34:25 GMT Sender: news@pitt.UUCP Reply-To: al@ee.pitt.edu (Alan Martello) Organization: Electrical Engineering, Univ. of Pittsburgh Lines: 41 Thanks to Larry and others, I almost have my nightly backups happening correctly...just one more thing. I installed perl in /usr/local/bin with its lib in /usr/local/lib/perl But, since I wanted to dump the filesystem /usr/local at night, I figured that I needed to move /usr/local/bin/perl off of the filesystem (which I did). However, I neglected the fact that the library was (apparently) open (since I couldn't unmount /usr/local and no active user processes were around). A grep of the strings from /bin/perl (my moved perl) revealed that it indeed contained references to /usr/loca/lib/perl in it. Now for my question: 1) is there anything "important" in /usr/local/lib/perl (there doesn't appear to be anything critical there on my system, just libraries which I don't think I'm using). 2) has anyone successfully done an "undump" under SunOS 4.0.x ? I've done it under SunOS 3.5 but the final a.out which is generated by running the same program under 4.0.x doesn't work. (2 guesses, either the a.out format has changed with the additions of dynamic libraries under 4.x or the dynamic libraries aren't linked into perl and thus, the rebuilt a.out is missing libraries). Of course, 2) above assumes that a dump'ed perl wouldn't need to open /usr/local/lib/perl, which I'm not sure if this is correct or not. Yes, I know that I can get around this problem by simply moving the library (if this is indeed why the filesystem isn't getting unmounted) but I would prefer not to have to do this. In particular, It would be convenient for me to move a correct perl script to another machine, which doesn't have perl installed, without having to move the library, either by moving /bin/perl or simply doing an "undump". Thoughts anyone? ******************************************************************* Alan R. Martello Electrical Engineering Dept. al@ee.pitt.edu University of Pittsburgh *******************************************************************