#!/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; } }
In reply to Re: Re: First JAPH - Spell perl in two hundred and eighty five thousand and seventy four easy steps
by Anonymous Monk
in thread First JAPH - Spell perl in two hundred and eighty five thousand and seventy four easy steps
by Calaban
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |