in reply to Re: Random Text: There's got to be an easier way
in thread Random Text: There's got to be an easier way
use strict; my @chars = ("a".."z","A".."Z", 2..9); my $random_string = join("",@chars[map{ rand @chars} (1..8)]); #8 being the number of chars to randomize ofcourse print "$random_string\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Random Text: There's got to be an easier way
by Beatnik (Parson) on Jun 03, 2001 at 23:15 UTC |