perlvar

What is the difference betweeen %INC and @INC?

What is the difference between %INC and @INC in Perl? ...

What does the special variable $@ mean in Perl?

I'm trying to understand the following piece of code: sub foo { ... if ( $@ ) { ... die $@; } } ...

Are keys and values of %INC platform-dependent or not?

I'd like to get the full filename of an included module. Consider this code: package MyTest; my $path = join '/', split /::/, __PACKAGE__; $path .= ".pm"; print "$INC{$path}\n"; 1; $ perl -Ipath/to/module -MMyTest -e0 path/to/module/MyTest.pm Will it work on all platforms? perlvar The hash %INC contains entries for each ...