in reply to Package Variables

You can debug this type of problem by dumping the %INC variable to make sure your package is coming from the file you think it is (as Corion has pointed out):
use warnings; use strict; use Data::Dumper; require 'Config.pm'; print Dumper(\%INC);

Replies are listed 'Best First'.
Re^2: Package Variables
by kurt2439 (Sexton) on Mar 27, 2011 at 19:44 UTC
    That's helpful, thanks.

    This is the first time I have worked with packages so I assumed the problem was some scoping issue I didn't understand. Hopefully I'll be able to read the signs more clearly next time. Thanks guys