Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Griping about Typing

by pdcawley (Hermit)
on Apr 19, 2002 at 06:58 UTC ( #160449=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Quantity;
    
    ...
      $self->new($self->{quantity + $target->{quantity},
                 $self->{unit});
    }
    
  2. or download this
      $a = Quantity->new(10, 'apple');
      $b = Quantity->new(20, 'orange');
    ...
      ...
    
      $c = $a + $b; # dies "Oi! you can't add apples to oranges!"
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-07-31 07:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (245 votes), past polls