I inherited these packages and trying to find nice ways to steal some code until I am able to rewrite the whole thing.
You are providing valuable guidance and I will try the 'use lib' variation that you mentioned. On Sun, 14 Jul 2002 14:55:28 -0700, [EMAIL PROTECTED] (Drieux) wrote: <snip> >this is what leads me to my interest since you can pull >the trick off with > > package A; > #use B; > #use C qw/:std/; > #use D; > >so that you will not have to go through the 'use' time evaluation >that you have B,C,D packages and hence can cheat around with > > my $got_answer = A::neat_function(@arglist); > >If this is your set of packages - and you are in the 'development >phase' - there are other tricks you can play with here - such as >the 'use lib' variations. > >When i was playing around with the DTK::Net::Web and DTK::Net::DI704 >modules I found it simpler to have the 'rack and stack' of > > use lib "/Users/drieux/perl/DTK/Net/blib/lib"; > use lib "/Users/drieux/perl/DTK/Net/Web/blib/lib"; > use lib "/Users/drieux/perl/DTK/Net/DI704/blib/lib"; > use lib "$ENV{HOME}/lib/perl"; > >in the basic test code - since that would be where I would >'find' the *.pm files after running the top level make.... > >run the test code - if it worked, procede to the next round >of development - new test code - maybe it did not work, >say 'crude things', fix bug in test code or appropriate module >run the make... run the test.... > >ciao >drieux > >http://www.wetware.com/drieux/pbl/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]