On Aug 7, Kim Harris said: >I am trying to run a perl script that is not usually >run in my environment, but I received the message >below. I need to understand how to change the @INC >path such that it points to the verson of perl that >supports warnings.pm. > >Can't locate warnings.pm in @INC (@INC contains: >/usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 >/usr/perl5/site_perl/5.005/sun4-solaris >/usr/perl5/site_perl/5.005 .) at snapshot line 21.
Um, you're using Perl 5.005. That version doesn't support warnings.pm. You need to upgrade to at LEAST Perl 5.6, but preferably 5.8. You can't just modify @INC to get the program to work -- you need the proper version of Perl. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]