Although the above was performed on a linux box using bash (so you might get a different result in a different shell), I'm pretty sure that $INC{"J9Test.pm"} is being passed as the last argument to perl.shell> cat > J9Test.pm package J9Test; 1; shell> perl -MJ9Test -le print $INC{"J9Test.pm"}; shell> perl -MJ9Test -le print@ARGV $INC{"J9Test.pm"}; {J9Test.pm} shell> perl -MJ9Test -le 'print $INC{"J9Test.pm"};' J9Test.pm
_________
broquaint
In reply to Re: Re: (3) Undefined subroutine
by broquaint
in thread Undefined subroutine
by J9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |