in reply to Re^3: What is true and false in Perl? (undef,undef)
in thread What is true and false in Perl?
Hi can somebody explain to me the reason behind the following:
test.pl:
#!/usr/bin/perl
my $a = (1==0);
print "__".ref($a)."__\n";
Output:
____
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: What is true and false in Perl? (undef,undef)
by davido (Cardinal) on Nov 22, 2013 at 18:11 UTC | |
by amartyaj (Initiate) on Nov 22, 2013 at 19:35 UTC |
In Section
Tutorials