last;
This will move you out of the while loop.
Wags ;)
-----Original Message-----
From: Bill Pierson [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 11:20
To: [EMAIL PROTECTED]
Subject: Simple
Easy question.
open(IN,"something.txt");
while($line = <IN>) {
chomp($line);
if ($line eq "something") {
## HOW DO I STOP THE WHILE AND MOVE ON?????
}
}
Too little sleep + too much perl = deer in headlights.
Any help will be appreciated,
--Bill
- Simple Bill Pierson
- RE: Simple Wagner-David
- RE: Simple Ledbetter, Jason
- Re: Simple Bill Pierson
- simple Rahul Garg
- Re: simple Nigel G Romeril
- Re: simple Abdulaziz Ghuloum
- Re: simple Brett W. McCoy
- Re: simple Gia Elise Barboza
- simple Rahul Garg
- AW: simple Alessandro Lenzen
