After upgrading from Redhat 4.2 to Redhat 5.0. I have noticed that the
following perl script doesn't work :

#!/usr/bin/perl

use Sys::Syslog;

print "Hello";

###########################################################################
#                           Error Message
###########################################################################

syntax error at /usr/lib/perl5/i386-linux/5.00404/sys/syslog.ph line 31,
near "unless defined"
syntax error at /usr/lib/perl5/i386-linux/5.00404/sys/syslog.ph line 35,
near "}"
BEGIN failed--compilation aborted at ./p line 3.


I use "syslog" in many PERL scripts.
I am currently running PERL version 5.004_04 built for i386-linux

Any idea ?
Thanks,







-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to