Can anyone provide an example of how to use a state variable to break out of a
loop?
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What is the ! doing in this statement?
$quit = 0;
while (! $quit)
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, and reading it to STDIN,
modifying each line, sort and then print.
Here is the Input:
Grant Hansen
Dave Thomas
Roger Starbauch
Here is the intended output:
Hansen, Grant
Starbauch, Roger
Thomas, Dave
Here is my code:
while(STDIN) {
chomp(@lines = split);
@lines1 = $lines[1
for further processing
that I am confused on.
Thanks
On Friday 20 September 2002 08:06 pm, Timothy Johnson wrote:
I'll give you a hint. This is perfectly legal:
my @array = STDIN;
Let me know if you still can't figure it out.
-Original Message-
From: Grant Hansen [mailto:[EMAIL PROTECTED