Date: Thu, 18 Apr 2002 16:40:22 -0400 From: parv <parv@pair.com> To: Vivek Khera <khera@kcilink.com> Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD perl/warnings.pm Message-ID: <20020418204022.GA9169@moo.holy.cow> In-Reply-To: <bulk.37213.20020418125630@hub.freebsd.org> References: <20020417150748.R32334@pobox.com> <bulk.37213.20020418125630@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
in message <bulk.37213.20020418125630@hub.freebsd.org>, wrote Vivek Khera thusly... > > >>>>> "SC" == Steve Carter <scarter@pobox.com> writes: > > SC> 2002-04-16 16:45:01 -- Can't locate warnings.pm in @INC (@INC contains: > SC> /usr/local/bin/../lib/mrtg2 /usr/local/bin /usr/libdata/perl/5.00503/mach > SC> /usr/libdata/perl/5.00503 > SC> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd > SC> /usr/local/lib/perl5/site_perl/5.005 .) at (eval 6) line 1. > > as you discovered, warnings.pm is part of perl 5.6.1 (as in "use > warnings"). nothing is wrong. the application should probably have a > "require 5.6.0" in it sine it is using perl 5.6 features. i think that will still generate the same warning/error message. if "use 5.6.0;" is used (before "use warnings;") otoh, program will carp out (early) due to unavailability of perl 5.6.1 -- not (due to unavailability) of warnings module -- due to difference in "use" & "require" functions. -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020418204022.GA9169>