in reply to Re: First JAPH - Spell perl in two hundred and eighty five thousand and seventy four easy steps
in thread First JAPH - Spell perl in two hundred and eighty five thousand and seventy four easy steps
#!/usr/bin/perl use strict; my $theword = @ARGV[0]; my $A='a'; FINDIT: for (0..99999999){ $A++; if ($A eq "$theword") {print "$_\n"; last FINDIT; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: First JAPH - Spell perl in two hundred and eighty five thousand and seventy four easy steps
by holonaut (Initiate) on Sep 11, 2002 at 18:31 UTC | |
by admiraln (Acolyte) on Sep 11, 2002 at 20:47 UTC |