|
|
Perl Logical AND && and OR || - Perl
|
Views : 159
|
|
Tagged in : Perl
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
Perl Logical AND && and OR ||
The && is used to test that two expression are true. The following only gets executed if both expressions are true.
if ( tihs_is_true && also_true ) {
}
The || is used to that either express is true. The following gets executed if one or the other expression is true.
if ( this_is_true || or_true ) {
}
|
|
By Geethalakshmi, On - 2010-09-17 |
|
|
|