> Von: "Alexey Gladkov" <[EMAIL PROTECTED]>

> Script groffer.pl failed perl syntax check:
> 
> perl -c /tmp/groffer.pl
> /tmp/split_env.sh does not exist; at /tmp/groffer.pl line 151.
> BEGIN failed--compilation aborted at /tmp/groffer.pl line 167.
> 
> Do not keep application specific code inside BEGIN block. BEGIN is run 
> when you use the -c switch for a syntax check.
> 
> http://perldoc.perl.org/perlmod.html#BEGIN,-UNITCHECK,-CHECK,-INIT-and-END

You should not run perl -c on the source code.  When run on the installed
version everything is ok.

$ perl -c /usr/local/bin/groffer
/usr/local/bin/groffer syntax OK

Bernd Warken



_______________________________________________
bug-groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-groff

Reply via email to