develooper Front page | perl.beginners | Postings from December 2002

does perl have boolean variables?

Thread Next
Ken Lehman
December 4, 2002 13:39
does perl have boolean variables?
Message ID:
I can't say:

#!/yadayada/perl -w
use strict;

$seen = true;

if( $seen )
 #something different

I get a bareword error, I'm using perl 5.004_04. Does perl support booleans
like this, do I need to use a package?
Thanks in advance

The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About