Help for this page

Select Code to Download


  1. or download this
    use constant FALSE => 0;
    use constant TRUE => !FALSE;
    
  2. or download this
    my $debug = FALSE; # or 0
    $debug ^= 1; # now it's TRUE, or 1
    $debug ^= 1; # now it's FALSE, or 0
    
  3. or download this
    $debug = !$debug; # change 1 to 0 or 0 to 1