[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Feaping Creature-ism in core Debian Packages

On Thu, Sep 02, 1999 at 01:24:53PM -0700, Joey Hess wrote:
> Chip Salzenberg wrote:
> > According to Joey Hess:
> > > Actually dh_perl has a much smaller feature set. It doesn't
> > > magically parse perl programs and figure out what they depend on.
> > 
> > It could, though.  The contents of the %INC hash reveal which modules
> > have been loaded and from where.
> You have to run the program to do that. How to I cause the program to stop
> running before it does anything to the system, for purposes of testing?

% cp script script.tmp
% echo 'BEGIN { print join "\n" => keys %INC; exit; }' >> script.tmp
% ./script.tmp | ...

> This also misses any use commands delayed by eval.

Oh well.

> It's the halting problem, as far as I can see. :-)

That would never stop a perl hacker!


Reply to: