"Sputnik" help  
Sputnik Help
Language Reference - Operators - Operator =>> (Variable As First Arg Assignment)

Operator =>>

Variable as first arg assignment. e.g.

// Define a string
my $a = "Cat and Dog";
// Use the $a as the first arg of a function
// (this does not change $a unless the function changes it)
say $a->>substr(1); // at and Dog
// Prints showing no changes
say $a; // Cat and Dog
 
// Now lets try again but this time with =>>
// Use =>> to place $a as the first arg of a function
// then immediately set the return value to $a
$a=>>substr(1);
// Print it showing the change
say $a; // at and Dog

To see a list of all the operators go here.


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