[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: __DIE__ and exception hooks



"Redford, John" wrote:

> Make it possible for objects and other reference types to define their own
> string representations.

That was actually my first thought; I wondered whether there would be
problems deciding on whether any particular usage was in, as it were,
string context... No problem if the object is in an interpolated string
or output is (ultimately) to a handle, but what about as a parameter of
an arbitrary call to XS code (Tk for example)? I wouldn't want to break
huge reams of CPAN :)

Pete
-- 
use Disclaimer::Standard;	# Motorola GSM Software Factory
my $phone='+44 1793 564450';	# "'Not twisted,' Salzy once said of
my $fax='+44 1793 566918';	#  her own passion, 'it is helical.
my $mobile='+44 7973 725120';	#  That sounds better.'"


References to:
"Redford, John" <John.Redford@fmr.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]