Michael Schwern wrote: !This is odd: ! !$ perl -wle "require Pod::Man; print $@" ! !$ perl -wle "eval 'require Pod::Man'; print $@" !Pod/Man.pm did not return a true value at (eval 1) line 3. ! !$ perl -v ! !This is perl, v5.8.0 built for VMS_AXP ! ! !Pod::Man doesn't have an explicit true value at the end. I've seen this !with other modules. Why is the behavior different when its eval'd? ! !I only see this behavior on VMS.
Using perl 5.8.1 I see these behaviors (note the '' quotation marks in the first invocation): $ perl -wle "require 'Pod::Man'; print $@" Can't locate Pod::Man in @INC (@INC contains: perl_root:[lib.VMS_AXP.5_8_1] perl_root:[lib] perl_root:[lib.site_perl.VMS_AXP] perl_root:[lib.site_perl] /perl_root/lib/site_perl .) at -e line 1. %SYSTEM-F-NOSUCHNODE, remote node is unknown $ perl -wle "require Pod::Man; print $@" $ The system error message implies that it is trying to see a file called MAN (possibly MAN.PM) on a DECnet node named POD. In DECnet speak the node POD would be called POD::. Interestingly the message appears different under perl 5.005_02: $ perl -wle "require Pod::Man; print $@" Can't locate Pod/Man.pm in @INC (@INC contains: perl_root:[vms_axp_5_00502] perl_root:[lib] perl_root:[vms_axp] perl_root:[000000] .) at -e line 1. %RMS-F-SYN, file specification syntax error NHDEV1 S1:[PPRYMMER.SCRIPTS]$ perl -wle "require 'Pod::Man'; print $@" Can't locate Pod::Man in @INC (@INC contains: perl_root:[vms_axp_5_00502] perl_root:[lib] perl_root:[vms_axp] perl_root:[000000] .) at -e line 1. %SYSTEM-F-NOSUCHNODE, remote node is unknown So I would conclude that there has been some file finding corrections to better handle DECnet in perl 5.8.1. You might be able to test this on a non VMS machine that was also running DECnet. AFAIK the only machines that do that include Tru64 Unix, perhaps Windows, and Linux these days. I would further guess that the DECnet specifics of finding files are limited to calls to $SEARCH system service in vms/vms.c in the perl code and that you might not see the "problem" on the other non VMS machines running DECnet anyway. Please note this answer is rather speculative on my part. Peter Prymmer
