Perl Wiki
Register
Advertisement

The $mode_switch variable:

  • set to "0" or ("zero") calls:
{
$spawnA="prev";
$function="manual";
$mode="0" # default
}
  • reset to "1" or ("nonzero") calls:
{
$spawnB="next";
$function="auto";
$mode="1" # operator override
}

This demonstrates the <MUTEX> (xor) function

WeekBots:
0 - Su 1 - M 2 - Tu 3 - W 4 - Th 5 - F 6 - Sa

{{ROLLTemplate:CALL}}

%Gender={($Call=>@ROLL) xor ($Roll=>@CALL)}

{{CALLTemplate:ROLL}}

session heap[]

input/output

$name="Gender_roles";
$class="wikia";
@values=(
 $gender="0", # default - male (bot) xor "1" - female (ALICE)
 $range="0", # default - all xor "1" - none
 $color="blue", # default - resolved xor "red" unresolved
 &...)

POE::GEN::DTOM:Build:2006/OctoberCQ•04:27, 7 October 2006 (UTC)

Advertisement