bhcesl has asked for the wisdom of the Perl Monks concerning the following question:
This is actually a function in the works, so the while conditions will be updated. However, this should be enough to get the loop running (indefinitely). This means I should be getting some output besides just errors, right? What am I goofing up here?################################# #!/usr/bin/perl -w my @word; my @pron; my $a; $a = 0; @pron = split("\t", <STDIN>); @word = split("\t", <STDIN>); while(1) { print "$pron[$a]-$word[$a]"; $a++; } $a = 0 ##################################
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: The While Loop is Breaking My Variables
by pg (Canon) on Nov 22, 2005 at 03:58 UTC | |
|
Re: The While Loop is Breaking My Variables
by Zaxo (Archbishop) on Nov 22, 2005 at 03:24 UTC | |
|
Re: The While Loop is Breaking My Variables
by ikegami (Patriarch) on Nov 22, 2005 at 03:15 UTC |