Kernel_Killer
May 15th, 2004, 14:39
I'm having a bit of trouble with a perl script in a fresh install of 3.5 . The script is /usr/libdata/perl5/strict.pm. Any time I try to install a port, run any of the package tools, or when it tries to recover vi sessions at boot, I get this error:

Array found where operator expected at /usr/libdata/perl5/strict.pm line 13, at
end of line
(Do you need to predeclare CONFmy?)
Bareword found where operator expected at /usr/libdata/perl5/strict.pm line 17,
near "}T"
(Missing operator before T?)
syntax error at /usr/libdata/perl5/strict.pm line 13, near "CONFmy @wrong"
syntax error at /usr/libdata/perl5/strict.pm line 15, near "@_ST_
push"
syntax error at /usr/libdata/perl5/strict.pm line 17, near "}T"
Unmatched right curly bracket at /usr/libdata/perl5/strict.pm line 18, at end of
line
syntax error at /usr/libdata/perl5/strict.pm line 18, near "CONF}"

soup4you2
May 15th, 2004, 17:34
been having some perl issues myself.. whenever i go into the MCPAN shell and install a module it never has the correct checksum and the download it corrputed... i end up having to find the module and unarchive it myself...

frisco
May 16th, 2004, 10:49
That fresh install smells rotten to me. Check your /usr/libdata/perl5/strict.pm against the official: 3.5 strict.pm (http://www.openbsd.org/cgi-bin/cvsweb/src/gnu/usr.bin/perl/lib/strict.pm?rev=1.7&content-type=text/x-cvsweb-markup&only_with_tag=OPENBSD_3_5)

Kernel_Killer
May 16th, 2004, 12:31
Wroking great now! Thanks frisco!