How do I use boolean variables in Perl?

Posted by BlueWaldo on Stack Overflow See other posts from Stack Overflow or by BlueWaldo
Published on 2009-06-24T04:08:11Z Indexed on 2010/05/03 11:18 UTC
Read the original article Hit count: 150

Filed under:
|
|

I have tried:

$var = false;
$var = FALSE;
$var = False;

None of these work. I get the error message

Bareword "false" not allowed while "strict subs" is in use.

© Stack Overflow or respective owner

Related posts about perl

Related posts about beginner