Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by huck (Parson)
on Jan 14, 2017 at 08:19 UTC ( #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
Node Status?
node history
Node Type: note [id://1179561]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2021-04-16 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?