RE: next if statement....

2004-03-18 Thread Bill Tribley
-Original Message- From: Greg Schiedler [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 2:16 PM To: [EMAIL PROTECTED] Subject: next if statement OK I'm trying to modify the code below to recognize an additional next if statement. I have included a snip of the file that th

RE: next if statement....

2004-03-18 Thread Ed Christian
Paul Archer wrote: > 12:15pm, Greg Schiedler wrote: > >> OK I'm trying to modify the code below to recognize an additional >> next if statement. I have included a snip of the file that the code >> uses an input. >> >> Greg >> >> next if /Acct-Session-Id = ""/;This statment works! >

Re: next if statement....

2004-03-18 Thread Paul Archer
12:15pm, Greg Schiedler wrote: > OK I'm trying to modify the code below to recognize an additional next if statement. > I have > included a snip of the file that the code uses an input. > > Greg > > next if /Acct-Session-Id = ""/;This statment works! > A 'next if /./' is a short

Re: next if statement....

2004-03-18 Thread Christopher G Tantalo
The slashes are similar to a reg-ex expression on $_ in your example. So basically it checks the line to see if that exists and does something. In your case, for the ip to work, all you would have to do is remove your quotes so the line matches, since the file doesnt have quotes around the ip