Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: a perl quilt

by Lexicon (Chaplain)
on Jan 31, 2001 at 10:20 UTC ( #55443=note: print w/replies, xml ) Need Help??

in reply to a perl quilt

Perhaps this would make a nice addition to the quilt?

##Perl Quilt #14x12 Patch # Randomizer use strict; my(@s,@q,$x) ;@s=(1..168) ;for(1..168) {$x=int rand @s; push(@q, splice@s,$x, 1);} print " ".join "\t", splice @q,0, 12for(1..14)