How can I find out the file name of a require'd file in Perl?
Asked 2010-01-07T11:19:04.153
9
How do I find out the name of a file that was require'd, from within that file? I can look into %INC to find the names of all files that were loaded, but I am looking for something like $0 that would serve as the key into %INC.