print Dumper $ref_Config; # print() on unopened filehandle Dumper
Looks like you're missing use Data::Dumper; at the top of the script. The error message is a little confusing because Perl is trying to interpret that print as Indirect Object Syntax (print FILEHANDLE LIST).
Other than that, looks like you've figured out @INC, and I already pointed out %INC, which will give you the location of the file that was actually loaded.
In reply to Re^3: how to get Config values into a hash
by haukex
in thread how to get Config values into a hash
by Aldebaran
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |