"Sputnik" help  
Sputnik Help
Language Reference - Operators - Operator && (Logical And Operation)

Operator &&

LogicalAnd operation. e.g.

my $x = 10;
my $y = 20;
if ($x && $y) // If $x is true, return $y, else return $x
{
    say "true";
}
else
{
    say "false";
}
// PRINTS
// true

// Here is how it works
say $x && $y;
// PRINTS
// 20

In other words if both are TRUE the if will accept the statement as TRUE otherwise it wont.

To see a list of all the operators go here.


Contact
Cheryl (uberfox@hotmail.com)
Homepage
http://ubersoft.org