Thanks for the ++'s - although it brings me closer to the dreaded day when I stop being a Pilgrim (cool!) and become a Friar (not cool)
So rand is random... how... appropriate ;)
Here's the cross-platform version then...(wot, you mean there are other platforms apart from Win and Linux?)
@i='058233660927207121220869229603962185544803008278'=~/.{8}/g;
@i='458441005222895647973137125730975323984043625316'=~/.{8}/g if$^Oeq
+'MSWin32';
map{srand$i[$_];map{print chr(32+int(rand 59))}1..4}0..5;
Tom Melly, pm@tomandlu.co.uk
|