develooper Front page | perl.perl5.porters | Postings from October 2003

Re: Hidden dependencies?

Thread Previous | Thread Next
Nick Ing-Simmons
October 1, 2003 08:29
Re: Hidden dependencies?
Message ID:
Fergal@Pop.Esatclear.Ie <> writes:
>My email did contain a suggestion for helping them. Unless they're doing
>funny things, packages should be able to work out their own must haves and
>their own like to haves simply by knowing what modules will be publicly
>used or required and tracing from there on.
>I think adding "use if" to doesn't make any sense because Tk is not
>an optional requirement for, it's mandatory. ToTk is an optional
>requirement for perldoc but a "use if" would be no good there either
>because you only want to use Tk if the command line switches ask for it,

and presumably 

use if $opt{...} ToTk;

is no good because %opt isn't set at BEGIN time?

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About