On Fri, 7 Mar 2003, proux wrote:
> Hi,
> with perl-5.600-17mdk on Linux Mandrake release 7.2 (Odyssey) for i=
586
>=20
> I've got a error with code from CVS
> =A0
>=20
> [root@odeon contrib]# ./check_appletalk.pl alesia
> Bareword "utils" not allowed while "strict subs" in use at ./check_=
appletalk.pl line 25.
> Bareword "pm" not allowed while "strict subs" in use at ./check_app=
letalk.pl line 25.
> Can't modify negation (-) in predecrement (--) at ./check_appletalk=
.pl line 204, near "This sf."
> syntax error at ./check_appletalk.pl line 204, near "by:"
> Bareword found where operator expected at ./check_appletalk.pl line=
206, near "//thinkgeek"
> =A0=A0=A0=A0=A0=A0=A0 (Missing operator before thinkgeek?)
> Array found where operator expected at ./check_appletalk.pl line 20=
9, at end of line
> Global symbol "@lists" requires explicit package name at ./check_ap=
pletalk.pl line 209.
> Bareword found where operator expected at ./check_appletalk.pl line=
210, near "//lists"
> =A0=A0=A0=A0=A0=A0=A0 (Missing operator before lists?)
> Execution of ./check_appletalk.pl aborted due to compilation errors=
.
>=20
> If you have a idea, thanks a lot !
> =A0
>=20
change the line that says "use lib utils.pm" to=20
"use lib /path/to/utils.pm"
--=20
-sg
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]