Finding what's been added to @INC

Matt S Trout dbix-class at trout.me.uk
Sun Jul 20 02:31:16 BST 2008


On Tue, Jul 15, 2008 at 09:03:30PM +0100, Simon Wistow wrote:
> On Tue, Jul 15, 2008 at 08:34:06PM +0100, me said:
> > Anybody got any ideas?
> 
> So one solution, suggested by Jess was to exec another Perl and diff 
> their @INCs. We came up with
> 
> I keep thinking that there ought to be a better way though.

Vendors - at least debian and red hat - patch their perl so that the
custom changes they have to the @INC stuff are done during startup.

So there's no real way to tell what a vanilla @INC looks like other than
a perl -V.

There ought to be a better way. Vendors happened. Welcome to software :)

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/


More information about the london.pm mailing list