Kevin Viel wrote: > I obtained the following message: > Can't locate warnings.pm in @INC (@INC contains: > /usr/perl5/5.00503/i86pc-solaris /usr/perl5/5.00503 ^^^^^^^ > /usr/perl5/site_perl/5.005/i86pc-solaris /usr/perl5/site_perl/5.005 .) ^^^^^
>> /usr/perl5/5.6.1/lib/warnings.pm f none 0444 root bin 14333 49307 >> 1106351821 SUNWpl5u >> >> /usr/perl5/5.8.4/lib/warnings.pm f none 0444 root bin 15689 19594 >> 1106351829 SUNWperl584core > > I used this program yesterday with no problems. I was told there have > been no changes. > > It seems I may have to adjust @INC. Does anyone have a recommendation > or suggestion concerning the source of this problem? The warnings pragma was introduced in Perl version 5.6 perldoc perl56delta If you are using Perl version 5.005_03 then you will have to use the -w switch instead like: #!/usr/bin/perl -w John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/