Re: Testing a scalier for two possible values at once

2009-05-13 Thread John W. Krahn
Adam Jimerson wrote: I need to test a scalier to see if its value is not two possibilities, because this test is being done inside a while loop I can not use an elsif statement without things getting ugly. I have tried it like this if ($scalier nq 'A') || ($scalier nq 'B') { but that just gave

Re: Testing a scalier for two possible values at once

2009-05-13 Thread Paul Johnson
On Wed, May 13, 2009 at 11:25:40AM +0200, Alexander Koenig wrote: > You wrote on 05/13/2009 02:17 AM: > > I need to test a scalier to see if its value is not two possibilities, > > because this test is being done inside a while loop I can not use an elsif > > statement without things getting ugly

Re: Testing a scalier for two possible values at once

2009-05-13 Thread Alexander Koenig
You wrote on 05/13/2009 02:17 AM: > I need to test a scalier to see if its value is not two possibilities, > because this test is being done inside a while loop I can not use an elsif > statement without things getting ugly. I have tried it like this if > ($scalier nq 'A') || ($scalier nq 'B')