Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: inclusive randby msh210 (Monk) |
on Mar 13, 2017 at 12:48 UTC ( [id://1184407]=note: print w/replies, xml ) | Need Help?? |
Thanks. I guess your code would work if I knew what precision rand uses: I could then use that as $precision. The other idea looks worth looking into; thanks much.
$_="msh210";$"=$\;@_=@{[split//,uc]}[2,0];$_="@_$\1";$\=$/;++$_[0]for$...1;print lc substr crypt($_,"@_"),1,6
In Section
Seekers of Perl Wisdom
|
|