On Tue, Jul 03, 2001 at 03:05:27PM +0100, Mike Guy wrote: > Ilya Zakharevich <ilya@math.ohio-state.edu> wrote > > - my $mess = Carp::longmess(@_); > > + my $mess = "@_"; > > + { > > + package Carp; # Do not include us in the list > > + eval { > > + $mess = Carp::longmess(@_); > > + }; > > + } > > Shouldn't the fallback be > > my $mess = join '', @_; > > ? > > And even that won't do the right thing with objects. You need something > like > > my $mess = ref $_[0] ? $_[0] : join '', @_; > > Also, now that there is a fallback if Carp fails to load, can't we > strike out the > > die(@_, "\nCannot print stack trace, load with -MCarp option to see stack") > > just above? Patches welcome (on top of Ilya's, since that's in.) > > Mike Guy -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack CohenThread Previous | Thread Next