Re: Is there a True Boolean type in Perl?

2007-10-17 Thread Trey Harris
In a message dated Mon, 15 Oct 2007, Doug McNutt writes: At 18:20 -0700 10/15/07, Michael Barto wrote: I think in the more newer languages, they have implemented true booleans. Perl is kind of old school. use constant TRUE => 1; use constant FALSE => 0; Is a complete solution in perl 5. U

Re: Is there a True Boolean type in Perl?

2007-10-16 Thread Randal L. Schwartz
> ""Chas" == "Chas Owens" <[EMAIL PROTECTED]> writes: "Chas> On 10/15/07, Michael Barto <[EMAIL PROTECTED]> wrote: >> As both Java and Javascript both have a 'true' and 'false' or Boolean data >> type, is >> there any interest in evolution of Perl to have a true Boolean. Or what is >> the >>

Re: Is there a True Boolean type in Perl?

2007-10-16 Thread David Cantrell
On Mon, Oct 15, 2007 at 01:27:26PM -0700, Michael Barto wrote: > As both Java and Javascript both have a 'true' and 'false' or Boolean > data type, is there any interest in evolution of Perl to have a true > Boolean. Or what is the preferred method to do this in Perl. The place to discuss this

Re: Is there a True Boolean type in Perl?

2007-10-16 Thread Chas. Owens
On 10/15/07, Doug McNutt <[EMAIL PROTECTED]> wrote: > At 18:20 -0700 10/15/07, Michael Barto wrote: > >I think in the more newer languages, they have implemented true booleans. > >Perl > >is kind of old school. > > use constant TRUE => 1; > use constant FALSE => 0; > > Is a complete solution in pe

Re: Is there a True Boolean type in Perl?

2007-10-16 Thread Chas. Owens
On 10/15/07, Michael Barto <[EMAIL PROTECTED]> wrote: > > I think in the more newer languages, they have implemented true booleans. > Perl is kind of old school. Pascal defines them as a grandfather of > languages. > Therefore as one migrates the languages to a higher levels (e.g. Perl[n]), >

Re: Is there a True Boolean type in Perl?

2007-10-15 Thread Doug McNutt
At 18:20 -0700 10/15/07, Michael Barto wrote: >I think in the more newer languages, they have implemented true booleans. Perl >is kind of old school. use constant TRUE => 1; use constant FALSE => 0; Is a complete solution in perl 5. There was once a reason back in the time of grandfathered lan

Re: Is there a True Boolean type in Perl?

2007-10-15 Thread Michael Barto
I think in the more newer languages, they have implemented true booleans. Perl is kind of old school. Pascal defines them as a grandfather of languages. Therefore as one migrates the languages to a higher levels (e.g. Perl[n]), they all will end up with a boolean data type. Therefore, I think t

Re: Is there a True Boolean type in Perl?

2007-10-15 Thread jeremiah
On Oct 15, 2007, at 11:25 PM, Gary Blackburn wrote: On Oct 15, 2007, at 4:27 PM, Michael Barto wrote: As both Java and Javascript both have a 'true' and 'false' or Boolean data type, is there any interest in evolution of Perl to have a true Boolean. Or what is the preferred method to do t

Re: Is there a True Boolean type in Perl?

2007-10-15 Thread Gary Blackburn
On Oct 15, 2007, at 4:27 PM, Michael Barto wrote: As both Java and Javascript both have a 'true' and 'false' or Boolean data type, is there any interest in evolution of Perl to have a true Boolean. Or what is the preferred method to do this in Perl. The "C" programmers want me to use "0"'s

Re: Is there a True Boolean type in Perl?

2007-10-15 Thread Chas. Owens
On 10/15/07, Michael Barto <[EMAIL PROTECTED]> wrote: > As both Java and Javascript both have a 'true' and 'false' or Boolean data > type, is > there any interest in evolution of Perl to have a true Boolean. Or what is > the > preferred method to do this in Perl. The "C" programmers want me to

Is there a True Boolean type in Perl?

2007-10-15 Thread Michael Barto
As both Java and _javascript_ both have a 'true' and 'false' or Boolean data type, is there any interest in evolution of Perl to have a true Boolean. Or what is the preferred method to do this in Perl. The "C" programmers want me to use "0"'s and "1"'s. --