Re: [svn:Module-Build] r13321 - in Module-Build/branches/inc-bundling: . lib/Module/Build lib/inc t t/lib

Eric Wilhelm <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <[email protected]>
# from [email protected]
# on Saturday 12 September 2009 21:42:

>+    # We're in author mode if inc::latest is loaded, but not from cwd
>+    return unless $INC{'inc/latest.pm'} && ! -e 'inc/latest.pm';

I think this can be

  return unless inc::latest->can('loaded_modules');

--Eric
-- 
The reasonable man adapts himself to the world; the unreasonable man
persists in trying to adapt the world to himself. Therefore all progress
depends on the unreasonable man.
--George Bernard Shaw
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.