Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: (Golf) Per Mutations

by wardk (Deacon)
on May 04, 2001 at 04:30 UTC ( #77850=note: print w/replies, xml ) Need Help??


in reply to (Golf) Per Mutations

Apologies to Abigail... http://www.foad.org/~abigail/Perl/Combinatorial/Permutations.pm

#!/bin/perl use Combinatorial::Permutations; my @t = p(1,2,3); foreach $p (@t) { print @$p, "\n"; } sub p { return Permutations::permutate(@_); } ------ xdev$ ./perm.pl 123 213 231 132 312 321

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2016-09-27 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (509 votes). Check out past polls.