[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perl Bug?

From: Pavel Roskin
Subject: Re: Perl Bug?
Date: Thu, 1 Feb 2001 17:26:34 -0500 (EST)

Hello, Akim!

> +    print STDERR "=>> @_\n";
> +    print STDERR "==>> $_\n";

I disagree with this style of programming.

GNU standard says that the program name should start with the name of the
program followed by the colon.

Such patches are sometimes good for debugging, but usually only for the
person who added them. Generic puprose debugging interface should at least
respect "--verbose" and prepend "automake:" to all messages.

What we already have in CVS is unacceptable:

$ grep STDERR
    print STDERR "automake: programming error: @_\n";
                    print STDERR "traces: discovered $source\n";
                    print STDERR "traces: discovered AC_SUBST($args[0])\n";
                    print STDERR "Pushing $dependees into $_\n";
#    print STDERR "result_vars: $result_vars\n";
#    print STDERR "result_rules: $result_rules\n";

I believe that all those lines should be removed with the exception of the
"programming error".

Pavel Roskin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]