Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Can this be explained in layman's terms?

by huck (Prior)
on Jan 14, 2017 at 08:19 UTC ( [id://1179561]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    for $n (0..10) {
      for $k (0..10) { 
        print "$n $k '.fs($n,$k)."\n"; 
        }
      }
    
  2. or download this
    use strict; use warnings; 
    
    ...
      my $p2=fs($n-1,$k  ); 
      return $p1 + ($k*$p2); 
    }
    
  3. or download this
    use strict; use warnings; 
    
    ...
      my $p2=s($n-1,$k  ); 
      return $p1 + ($k*$p2); 
    }
    
  4. or download this
    Global symbol "$p2" requires explicit package name at buk-2.pl line 30
    +.
    syntax error at buk-2.pl line 31, near "return"
    ...
    Missing right curly or square bracket at buk-2.pl line 32, at end of l
    +ine
    syntax error at buk-2.pl line 32, at EOF
    Execution of buk-2.pl aborted due to compilation errors.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-25 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found