Front page | perl.perl5.porters |
Postings from May 2007
Re: perl pragma
Thread Previous
|
Thread Next
From:
Tels
Date:
May 23, 2007 11:57
Subject:
Re: perl pragma
Message ID:
200705232105.06595@bloodgate.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Moin,
On Wednesday 23 May 2007 18:49:26 Joshua ben Jore wrote:
> On 5/23/07, Tels <nospam-abuse@bloodgate.com> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
>
> overloading constants was already a lexical pragma so I don't think
> you need to use the new hintshash in 5.9.x's caller(). You can just
> call overload::constant from your import and overload::remove_constant
> from your unimport method.
Ah cool, will check this out right now. remove_constant is defintily
underdocumented in overload - it is mentioned only twice in passing with no
actual example.
All the best,
Tels
- --
Signed on Wed May 23 21:04:26 2007 with key 0x93B84C15.
View my photo gallery: http://bloodgate.com/photos
PGP key on http://bloodgate.com/tels.asc or per email.
http://www.giantitp.com/cgi-bin/GiantITP/ootscript?SK=1
-- Order of the Stick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iQEVAwUBRlSsgncLPEOTuEwVAQLm6gf+LUKI5csemuDSaX2VljDvhjwGGl0flfSv
pjMLIGYCyflq3PcLAMJN+OBICXnztSs9+scl37V0PUigl0zFo6ZL6xj8BUZSnXAR
Z8ktp+9v/Mfxyxev8UJiX8Vf82yGmHFEwFtVCaMgdlrFy3wbtQdS5ppGzwufDxWb
K3rbTeX+UIMy0h5twpbHFbqGJTdTf606/o5H3lrZ2JQBWDf9tO/PoftY+e5EZdzi
M/GYVHxwmUzAFSrfCk/f8gXm3YeVEwiXlTq1Wdcxh5d0JpLtvutVrByqMf7Hb+XD
r090gc5YfxO4vtsUX+M+JH4ZXTfINZmbzSC+TX8dN5QjuoLna9USwg==
=pA96
-----END PGP SIGNATURE-----
Thread Previous
|
Thread Next