Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 avoiding work at the Monastery: (10)
As of 2014-12-20 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (94 votes), past polls