Help for this page

Select Code to Download


  1. or download this
    my $x = $x;  # Initialize with value from outer scope.
    
  2. or download this
    my $x = f();
    
    if ($x and g($x)) {
       ...
    }
    
  3. or download this
    if (my $x = f()) {
       if (g($x)) {
          ...
       }
    }