Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Derangements iterator

by jdporter (Canon)
on Dec 30, 2005 at 15:56 UTC ( #520015=note: print w/ replies, xml ) Need Help??


in reply to Derangements iterator

this version uses the services of The (Combinatorial) Object Server.

use LWP::Simple; my $cosder = "http://www.theory.csc.uvic.ca/~cos/per/perm/perm.pl.cgi? +program=Derange&output1=true&n="; sub derangements { map[@_[split/, /]],get($cosder.@_)=~/<TD ALIGN=CENTER>(.*?) <BR>/g } print "@$_\n" for derangements( qw( aleph beth gimel daleth ) );

Unfortunately, they don't appear to have an xml or text/plain option.

We're building the house of the future together.


Comment on Re: Derangements iterator
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2015-07-06 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls