"Sputnik" help  
Sputnik Help
Language Reference - Operators - Operator ?-> (Object Accessor Null Flip)

Operator ?->

Object accessor null flip. e.g.

// ?-> causes the operation to return NULL
// instead of throwing an exception if the
// object is not valid
my $a = null;
$a?->Cat();
// does nothing instead it returned a NULL
// we could capture the NULL like so
my $retVal = $a?->Cat();

Normally if you try use -> without a valid object Sputnik will throw an exception and end the script.

Using ?-> you can keep the script running by ignoring the error entirely since a NULL is returned instead of an exception.

To see a list of all the operators go here.


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