From owner-freebsd-stable Thu Apr 18 13:38: 5 2002 Delivered-To: freebsd-stable@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id BF36937B419 for ; Thu, 18 Apr 2002 13:37:57 -0700 (PDT) Received: from sdn-ar-004dcwashp045.dialsprint.net ([206.133.21.157] helo=moo.holy.cow) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16yIfD-00033y-00; Thu, 18 Apr 2002 13:37:56 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id 9DD6650B84; Thu, 18 Apr 2002 16:40:22 -0400 (EDT) Date: Thu, 18 Apr 2002 16:40:22 -0400 From: parv To: Vivek Khera Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD perl/warnings.pm Message-ID: <20020418204022.GA9169@moo.holy.cow> Reply-To: f-stable Mail-Followup-To: Vivek Khera , freebsd-stable@freebsd.org References: <20020417150748.R32334@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message , wrote Vivek Khera thusly... > > >>>>> "SC" == Steve Carter 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