in reply to Use of %INC ?
Try it out yourself. Create a script like so:
print "Hello\n";
Put it in a file named hello.pl and run this (untested):
print "1: ", join ', ', %INC, "\n"; do 'hello.pl'; print "2: ", join ', ', %INC, "\n"; use Data::Dumper; print "3: ", join ', ', %INC, "\n";
|
|---|