Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Overloaded operators calling similar functions...

by dbuckhal (Monk)
on Dec 08, 2012 at 01:30 UTC ( #1007841=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ### Overloaded addition operator
    sub _add {
    ...
              : "0";
        return $diff_str;
    }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
        return $x;
    }
    1;  # for whenever I make this a separate package file
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2014-07-22 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (126 votes), past polls