http://www.perlmonks.org?node_id=297380


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?

Replies are listed 'Best First'.
Re: Re: Using overload. Any complete (simple) examples?
by BrowserUk (Patriarch) 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