Help for this page

Select Code to Download


  1. or download this
      $data = {
          foo => 3,
          bar => [ qw/ this that 3 / ],
    ...
          is eval "\$data->$path", 3,
            '... and each element should have the correct value';
      }
    
  2. or download this
      use Scalar::Util 'reftype';
    
      my %path = (
    ...
          }
          return \@paths;
      }