Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: debug invocation problem Message-ID: <6680@jpl-devvax.JPL.NASA.GOV> Date: 27 Dec 89 23:52:46 GMT References: <3143@taux01.UUCP> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 25 In article <3143@taux01.UUCP> crehta@taux01.nsc.com (Ran Ever-Hadani) writes: : The following occured both on a Sun3 running OS3.5 and on SPARCstation : running OS4.0.3c . : : Script started on Tue Dec 26 11:49:53 1989 : tasu74 % cat try1 : #!/users/c764/crehta/perl : : while (<>) { : print $_; : } : tasu74 % perl -d try1 : Undefined subroutine "DB" called at try1 line 3. It would appear that your perl library routine called perldb.pl is not installed where perl can find it. Did you ever do a make install? Did it get any errors? The place it wants to put them is defined in config.sh by the privlib variable. This in turn sets the value of the PRIVLIB symbol to perl, which is shoved into the @INC array as part of the path to search for perl libraries. Admittedly, the error message could be better. >>patch9 Larry