On Wed, Jun 20, 2001 at 04:38:14PM -0400, Chas Owens wrote:
> The Perl syntax to match the VB loop above is:
>
> while ($a = 5 or $b = 2) {
> blah blah blah;
> }
Chas, of course, meant ==, not =, as in:
while ($a == 5 or $b == 2) {
...
}
VB has some weird things going on with = as assignment and = as comparison,
but = is indeed a comparison operator.
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
- method calls outside the package Nick Transier
- Re: method calls outside the package Jeff 'japhy' Pinyan
- HELLO, I am new... X-) Sebadamus
- Re: HELLO, I am new... X-) Chas Owens
- Re: HELLO, I am new... X-) Michael Fowler
- Re: HELLO, I am new... X-) Chas Owens
- Re: method calls outside the package Nick Transier
- Re: method calls outside the package Chas Owens
