ec1987 has asked for the wisdom of the Perl Monks concerning the following question:
my @letter=('A'..'Z'); @rand=''; foreach(0..7){ $rand.=$letter[rand(@letter)]; Then I get the user to enter a word split it into an array. This is where I get stuck. for($count=0; $count<= ($wordLength - 1); $count++){ if($wordArray[$count] =~ /[$rand]/o{
Original content restored by GrandFather
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex Matching
by CountZero (Bishop) on Dec 05, 2012 at 20:37 UTC | |
|
Re: Regex Matching
by AnomalousMonk (Archbishop) on Dec 05, 2012 at 20:39 UTC | |
|
Re: Regex Matching
by Kenosis (Priest) on Dec 05, 2012 at 21:42 UTC | |
by ww (Archbishop) on Dec 05, 2012 at 21:48 UTC | |
by Kenosis (Priest) on Dec 05, 2012 at 21:54 UTC |