Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Using overload. Any complete (simple) examples?

by LD2 (Curate)
on Oct 07, 2003 at 20:09 UTC ( #297380=note: print w/ replies, xml ) Need Help??


in reply to Using overload. Any complete (simple) examples?

I'm not sure if this will help or not... but take at look at this article on overloading over at Perl.com.


Comment on Re: Using overload. Any complete (simple) examples?
Re: Re: Using overload. Any complete (simple) examples?
by BrowserUk (Pope) on Oct 07, 2003 at 21:46 UTC

    LD2++ Thanks muchly for the pointer. And ++davorg also.

    I *think* (after a first reading) that the bit I have been missing, despite having read (scanned) it many times is the overload::constants and the overload::remove_constant() stuff.

    The article and associated module where exactly what I was looking for.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://297380]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2014-09-16 14:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (31 votes), past polls