Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
go ahead... be a heretic
 
PerlMonks  

Re: Why am I getting wrong result in basic arithmetic calulations from d5.pl for $calculation1 and $calculation2?

by Cristoforo (Chaplain)
on May 08, 2012 at 03:30 UTC ( #969360=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    x1=2; x2=3; x3=4;
    y1=3; y2=5; y3=7;
    z1=4; z2=7; z3=10;
    
  2. or download this
    C:\Old_Data\perlp>perl t5.pl
    $VAR1 = {
              'y1' => '3',
    ...
              'y2' => '5',
              'y3' => '7'
            };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2013-06-18 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (636 votes), past polls