develooper Front page | perl.perl5.porters | Postings from February 2009

Re: deprecating Switch.pm

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
February 26, 2009 13:21
Subject:
Re: deprecating Switch.pm
Message ID:
49A707D7.8010703@pobox.com
Aristotle Pagaltzis wrote:
> * Michael G Schwern <schwern@pobox.com> [2009-02-26 00:45]:
>> Ok, no problem, make it a dependency.
> 
> The point is that if.pm will only try to load the module if the
> conditional is true to begin with. If the conditional’s truth
> implies the presence of the module, it needn’t be an explicit
> dependency.

Good point.  But then we're back to the nasty "try to guess who the caller is"
code in dependency.pm.


-- 
184. When operating a military vehicle I may *not* attempt something
     "I saw in a cartoon".
    -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
           http://skippyslist.com/list/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About