"Sputnik" help  
Sputnik Help
Language Reference - Operators - Operator == (Tests If Two Values Are Equal (Case Sensitive))

Operator ==

Tests if two values are equal (case sensitive if used with strings). e.g.

my $a = 10;
my $b = 20;
if ($a == $b)
{
    say "true";
}
else
{
    say "false";
}
// PRINTS
// false

Using on strings:

my $var = "Cat";
if ($var == "Cat")
{
    say "true";
}
else
{
    say "false";
}
// PRINTS
// true

my $var = "Cat";
if ($var == "cat") // it ignores case
{
    say "true";
}
else
{
    say "false";
}
// PRINTS
// false

To see a list of all the operators go here.


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