Re: Checking a list for a value

2006-02-11 Thread John W. Krahn
David Gilden wrote: > I would like to loop through 'all' acceptable values in an array (my white > list) > then assign a pass or fail value. > > In the following code does not accomplish this, it needs to go through the > entire list > before assigning a value. > > > #!/usr/bin/perl > > $va

Re: Checking a list for a value

2006-02-11 Thread John Doe
David Gilden am Samstag, 11. Februar 2006 21.54: > I would like to loop through 'all' acceptable values in an array (my white > list) then assign a pass or fail value. > > In the following code does not accomplish this, it needs to go through the > entire list before assigning a value. > > > #!/usr

Checking a list for a value

2006-02-11 Thread David Gilden
I would like to loop through 'all' acceptable values in an array (my white list) then assign a pass or fail value. In the following code does not accomplish this, it needs to go through the entire list before assigning a value. #!/usr/bin/perl $valToTest = "ac"; @myGoodList = ("10_rater","3