perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <>
Subject Re: [patch] $table->as_string() and "$table"
Date Tue, 04 Dec 2001 22:57:13 GMT
On Thu, 29 Nov 2001, Philippe M. Chiasson wrote:

> Following patch includes $r->as_string() and "$string" to dump a table
> in a format like:
> key='value'\n
> keyn='valuen'\n

have to say no to string overloading.  any package that has done it came
to regret doing so, or at least i wish they hadn't.  lwp and for
as_string could be useful, but i'd rather see such utilities in their own
package.  we could have APR::DebugUtil and Apache::DebugUtil that contain
as_string methods for various classes and whatever else might be useful.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message