Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

tilly's scratchpad

by tilly (Archbishop)
on Jun 01, 2004 at 17:27 UTC ( #358287=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    use strict;
    ...
    }
    
    print "$_: ", partitions($_), "\n" for @ARGV;
    
  2. or download this
    #! /usr/bin/perl -w
    use strict;
    ...
    }
    
    print "$_: ", partitions($_), "\n" for @ARGV;
    
  3. or download this
    sub partitions {
      my $n = shift;
    ...
      }
      return $partitions[$n];
    }
    
  4. or download this
    sub partitions {
      my $n = shift;
    ...
      }
      return $partitions[$n];
    }
    
  5. or download this
    sub linear_sequence {
      my ($start, $inc) = @_;
    ...
              "  Rearranged:  $rearranged_sum\n";
      }
    }
    
  6. or download this
    #! /usr/bin/perl
    use strict;
    ...
      my $self = shift;
      #warn("Node: $self->{data} destroyed");
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2020-10-30 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (277 votes). Check out past polls.

    Notices?