in reply to Perl logical operators
In addition to what choroba said, if you really want to be able to use the keywords true and false in your script, there are a few CPAN modules which will provide them for you, such as boolean. Or you can just define them as constants.
use constant {qw( true 1 false 0 )};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl logical operators
by tweetiepooh (Hermit) on Jul 10, 2019 at 13:38 UTC | |
by choroba (Cardinal) on Jul 10, 2019 at 13:49 UTC | |
by hippo (Archbishop) on Jul 10, 2019 at 13:48 UTC |