develooper Front page | perl.perl5.porters | Postings from September 2003

Re: [perl #24016] [RESOLVED] overload log() does not allow additional parameters

Thread Next
From:
Tels
Date:
September 30, 2003 11:19
Subject:
Re: [perl #24016] [RESOLVED] overload log() does not allow additional parameters
Message ID:
200309302016.13162@bloodgate.com
-----BEGIN PGP SIGNED MESSAGE-----

Hi,

On Tuesday 30 September 2003 10:15, you wrote:
> According to our records, your request regarding
>   "overload log() does not allow additional parameters"
> has been resolved.
>
> If you have any further questions or concerns on the above subject, please
> respond to this message.

Did you patch it? Otherwise IMHO it is not "resolved", because the workaround 
presented:

* is just a workaround, no real solution (it would be neccessary to put the 
workaround into _each_ class, instead of _once_ into overload)
* doesn't even work properly (the presented workaround has small bugs)
* re-inventes the wheel: by hunting down which class to call we do exactly 
what overload.pm solves: overloading a specific class method)
* it poses problems (what if different classes try to workaround and all 
globber CORE::GLOBAL::log together?)

I am in the process of trying to understand overload.pm - but this takes more 
time. The best I can come up is some comment&doc patch for now. Hopefully 
this will lead to enough documentation so that this can be either fixed or 
documented as "unfixable".

Thank you!

Tels

- -- 
 Signed on Tue Sep 30 20:11:32 2003 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Where shall I put you? Under H, like Hot, Sexy Mama?"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

iQEVAwUBP3nIbHcLPEOTuEwVAQErrQf8CNBjB1wQvnSZR9NwrXa+B9wskyDDNWVk
9iOoiLgdr9jNN2VOdNN62+cKXpWidE+0ldFnvD1jVLXmL7KEaI4HASWtiAHIJdq3
4UnQh05qg6WPAVxTqfcgUj9mmWUjUVahZnNyn46YH6QGBUMDyySRCuKXZUKog7F4
sXSYww/Bdai30pJwsuIbiwO+guru0WC3517675uafQ91jKBpgyGWfxXX6LBAdZtt
7yBPKUJGqiq5MlhiH/tr59MXsWV4IwZ4mb1skTB8aSraqpAapv+c2o1kgIlaqvEF
o/BsoGgmCbDmvdX07ihP71nnd+wz3spLY+se2q4HRADT92+Ih97QHw==
=e/h5
-----END PGP SIGNATURE-----


Thread Next


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