Phoenix.pm: Please help, my brain is fried

Scott Walters root at nebuchadnezzar.slowass.net
Wed Jan 26 21:05:05 CST 2000


> Hello all,
> 
> Sorry I missed the last X meetings (not even sure how many any more). I do keep
> up with them here though.

NO FORGIVENESS!!!!

>   sub get_char(){
>       srand;
>       $count++;
> 
>       my $char = int(rand(57))+65;
>       print $count, "  ", chr($char), "\n";
> 
>       get_char() if ($char >= 91 && $char <= 96);

        get_char() while ($char >= 91 && $char <=96);

>       return $char;
>   }
> 
> 

Try that and tell me if it's better.

-scott




More information about the Phoenix-pm mailing list