Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Re: chaining de...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 11032 of 11520
Post > Topic >>

Re: chaining defines

by yitzle@[EMAIL PROTECTED] (Yitzle) May 6, 2008 at 10:43 AM

On Tue, May 6, 2008 at 9:49 AM, Robert Hicks <sigzero@[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
 




 5 Posts in Topic:
chaining defines
sigzero@[EMAIL PROTECTED]  2008-05-06 09:49:29 
Re: chaining defines
yitzle@[EMAIL PROTECTED]   2008-05-06 10:43:15 
Re: chaining defines
Jenda@[EMAIL PROTECTED]   2008-05-06 18:04:00 
Re: chaining defines
sigzero@[EMAIL PROTECTED]  2008-05-06 12:27:58 
Re: chaining defines
Peter@[EMAIL PROTECTED]   2008-05-07 04:38:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 13:19:44 CDT 2008.