Help for this page

Select Code to Download


  1. or download this
    sub AUTOLOAD {
      our $AUTOLOAD;
    ...
      return @{$s->{$type.'_files'}} if ($mode eq 'get');
      return new ref($s).'::Iterator' (@{$s->{$type.'_files'}}) if ($mode 
    +eq 'scan');
    }
    
  2. or download this
    sub new {
      my $class = shift;
    ...
    }
    
    sub selected_file { (shift)->[0] }