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

Re: Where did CORE::cos go? was: Re: RFC: BigInt and overloading of sin/cos

Thread Previous
From:
Tels
Date:
November 1, 2003 11:33
Subject:
Re: Where did CORE::cos go? was: Re: RFC: BigInt and overloading of sin/cos
Message ID:
200311011848.55721@bloodgate.com
-----BEGIN PGP SIGNED MESSAGE-----

Moin,

On Saturday 01 November 2003 17:31, Tels wrote:
> Moin,
> sub import
>   {
>   overload->import (
>     nomethod => sub {
>           &{'sCORE::' . $_[3]}( $_[0], $_[1], $_[2] );
>           print "nomethod ", join(":", @_), "\n";
>           },
>     );
>   }

FYI: Note the typo here ("sCORE"), but it still doesn't work if you fix it to 
"correct" 'CORE::' . $_[3]...

Using somple $_[3] does also not work, since it then dies with "Undefined 
Test::cos called"...

Best wishes,

Tels

- -- 
 Signed on Sat Nov  1 18:46:52 2003 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Für eine solche Bitratenreduktion muss ich den Transcoder so
 umkonfigurieren, dass er gröbere Quantisierungskoeffizienten für die
 MPEG-Matrizen verwendet, Captain" - "An die Arbeit, Mr. LaForge." -- Jens
 Baumeister in http://tinyurl.com/oomb

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

iQEVAwUBP6PyBncLPEOTuEwVAQEXlAf/QAntkYHf948bkIbsDEmPTEcUfLSOWxOL
AYXjYw8NlcJXuJicCpA02tazKVo+NPsXXXWMDIVEF6xini47oI6lMkn65qpIekBK
i9VGSRY08Zzmmsl7JNmKRpVp0Xh+iwxI6byG5zjk8gRCtl6kIptlLdG3b6o77JAQ
8FlvCeFf6YNvbQUWJkyghY/Sg8IcfSP61hP+a4sE9bstU4xgQprdtbRFHZlaOrRT
E9PsowWeYPin/R8ZFGpsxFkDsgwUb/kdusMY2gPJXqAsWh+qsJZ7NJlB7/g8GxIu
s069gpgsNtGHL9EuCJFgQJXdQGp3knd8XABZetv7qDumNF/tqytsdA==
=pRQb
-----END PGP SIGNATURE-----


Thread Previous


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