"Sputnik" help  
Sputnik Help
Language Reference - Operators - Operator !! (Negative Null Switch)

Operator !!

Negative null switch. eg.

my $a = 700;
say $a !! "The variable is not null";
// PRINTS
// The variable is not null

my $a = null;
say $a !! "The variable is not null";
// prints nothing (since it is null)

This works because if the $a is null then it returns whats to the right of it instead.

See also Operator !!= (Null Forgiving Assignment)

To see a list of all the operators go here.


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