You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2001/12/04 23:57:13 UTC
Re: [patch] $table->as_string() and "$table"
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 cgi.pm for
example.
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: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org