Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 having an uproarious good time at the Monastery: (10)
As of 2014-11-24 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (137 votes), past polls