State Variables

2002-09-27 Thread Grant Hansen
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]

Quick ?

2002-09-27 Thread Grant Hansen
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]

Help on Arrays - Beginner

2002-09-20 Thread Grant Hansen
, 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

Re: Help on Arrays - Beginner

2002-09-20 Thread Grant Hansen
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