Help for this page

Select Code to Download


  1. or download this
      [
        $var1,
        undef,
    ...
          'bar' => $var3
        }
      ];
    
  2. or download this
      my $unknown = [ undef, undef, $var ];
    
  3. or download this
      my @structures = ( 
        [ qw/ 1 2 3 / ],
        [ qw/ this that other / ],
        [ qw/ un deux trois / ],
      );
    
  4. or download this
      foreach my $structure (@structures) {
        bind($unknown, $structure);
        print $var->value;
      }
    
  5. or download this
      my $struct = [
        'whaa!',
        undef,
    ...
      ];
      my $path = "[2][2]{foo}";
      $var->bind( eval "\$struct->$path" );
    
  6. or download this
      foreach my $path (find_logic_var($unknown_struct)) {
          push @paths => $path;
      }