$key="";
@karray= split(//,$key);
####
while (length($key) < 4) {
print "Please Enter Your Desired Key (5 or more characters) \n --> :";
$key=<>;
}
####
for ($i=0;$i##
$cyphertext = <>;
$len = length($cyphertext)-1;
@array = split(//, $cyphertext);
for ($i=0;$i<$len;$i++) {
$char = chr((ord(@array[$i])...
####
chomp(my $blah = ); # This should be validated...
my @input = split //, $blah;
for my $index (0 .. $#input){
print "$index: $input[$index]\n";
}
####
for (my $i = 1; $i < 10; $i++){
print "$i\n"; # Ooops - only counted to 9!
}
for my $i (1..10){
print "$i\n"; # Does the right and obvious thing
}
print "$_\n" for 1..10; # Same thing, even more Perlish