Help for this page

Select Code to Download


  1. or download this
    my $attribute = 3;
    my $condition = '$attribute == 3 or $attribute == 4';
    print +((eval $condition)? "TRUE" : "FALSE",
            ($@)? " (warning: $@)" : '',
            $/);