Re: chaining defines
[email protected] (yitzle)
| Newsgroups | perl.beginners |
|---|---|
| Message-ID | <[email protected]> |
On Tue, May 6, 2008 at 9:49 AM, Robert Hicks <[email protected]> wrote: > Is there anything wrong with: > > if ( defined $one && defined $two && $one eq $two ) { > #### do something > } No. Its fine. You might be interested in "Operator Precedence and Associativity" [1] [1] http://perldoc.perl.org/perlop.html#Operator-Precedence-and-Associativity