%INC
- Now Perl checks if this module was loaded already.
- This is the job of
%INC
. %INC
stores the filenames askeys
and the absolute paths to loaded files asvalues
:
file: examples/005_hash_inc.pl 1: use Class::Accessor; 2: while (my($k,$v) = each %INC) { 3: print "$k: $v\n"; 4: }