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.