in reply to
C++ style boolean type in Perl?
I agree with
japhy
, but even constants bloat the code in the simple case of constants. That's some type of function call for every constant.
Comment on
Re: C++ style boolean type in Perl?
Replies are listed 'Best First'.
RE: Re: C++ style boolean type in Perl?
by
japhy
(Canon)
on Sep 28, 2000 at 21:52 UTC
No, it isn't. When you
use constant
, Perl replaces the constants with the values they return at compile-time.
$_="goto+F.print+chop;\n=yhpaj";F1:eval
[reply]
In Section
Seekers of Perl Wisdom