Just a side comment:
$val = int(rand($ulmt-1)+1); # map range to (1..ulmt)
This does not do what you claim in your comment. Either change your comment to:
# map range to (1..(ulmt-1))or change your code to:
$val = int(rand($ulmt)+1);dave
In reply to Re: Short Circuit Operator and Hash Assignment
by Not_a_Number
in thread Short Circuit Operator and Hash Assignment
by periapt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |