develooper Front page | perl.perl5.porters | Postings from June 2001

Re: [PATCH] Re: [ID 20010624.001] debugger T, and Carp::carp don't trace arg of

From:
Jarkko Hietaniemi
Date:
June 25, 2001 08:31
Subject:
Re: [PATCH] Re: [ID 20010624.001] debugger T, and Carp::carp don't trace arg of
Message ID:
20010625101816.I21832@chaos.wustl.edu
On Mon, Jun 25, 2001 at 11:43:23AM +0100, Mike Guy wrote:
> Tony Bowden <tony@kasei.com> wrote
> > While we're patching Carp, can I make a plea for shortmess() and
> > longmess() to either become documented or more obviously private=20
> > (sub _shortmess etc.)
> 
> Good idea.
> 
> > Ocassionally I've had a need to use longmess() directly, but haven't
> > been able to put it in production code as it's undocumented, and could
> > theoretically disappear.
> 
> In fact, they are already used, by CGI::Carp, ExtUtils::MakeMaker
> and perl5db.pl in the core, and no doubt in various CPAN modules as
> well.    So they're unlikely to disappear.
> 
> I found your suggested patch slightly eccentric, in documenting them
> under "BUGS".   :-)     I attach my suggestion.

Thanks, applied.  (And the earlier version retracted.)

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About