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

Re: Feaping Creature-ism in core Debian Packages

According to Joey Hess:
> 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?

A BEGIN{} or END{} block, in conjunction with the "-c" switch.

> This also misses any use commands delayed by eval.

True.  Oh, well.
Chip Salzenberg      - a.k.a. -      <chip@perlsupport.com>
      "When do you work?"   "Whenever I'm not busy."

Reply to: