develooper Front page | perl.perl5.porters | Postings from September 2012

Re: Module API (Was: Re: Taking CPANPLUS out of core)

Thread Previous | Thread Next
From:
David Golden
Date:
September 29, 2012 19:08
Subject:
Re: Module API (Was: Re: Taking CPANPLUS out of core)
Message ID:
CAOeq1c_pUZcuTNAM3KX--h4bGOiJEvzDw7Og7uM4OJ=R70=qYw@mail.gmail.com
On Sat, Sep 29, 2012 at 4:10 PM, Johan Vromans <jvromans@squirrel.nl> wrote:
>
> It might also prevent surprises. For example, if Foo.pm provides
> packages Foo and Bar, Module::Loaded will only report a result for Foo
> and not for Bar.

That is correct behavior.  Only Foo was *loaded*.  Bar was *defined*.
It's a subtle but important distinction.

David


-- 
David Golden <xdg@xdg.me>
Take back your inbox! → http://www.bunchmail.com/
Twitter/IRC: @xdg

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