Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 chanting in the Monastery: (12)
As of 2014-12-22 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (119 votes), past polls