Help for this page

Select Code to Download


  1. or download this
    sub verify_args {
        my $defaults = shift; # leave the rest of @_ intact.
    ...
                unless exists $defaults->{$var};
        }
    }
    
  2. or download this
    my %convert_defaults = (
        from  => 'here'
    ...
        my %args = (%convert_defaults, @_);
        ...
    }
    
  3. or download this
    package KinoSearch::Util::Class;
    use KinoSearch::Util::ToolSet; # strict, warnings, Carp, etc.
    ...
            . "abstract method and must be defined in a subclass.";
    }
    
  4. or download this
    package KinoSearch::Analysis::Analyzer;
    use KinoSearch::Util::ToolSet;
    ...
    sub analyze { shift->abstract_death }
    
    1;
    
  5. or download this
    package KinoSearch::Analysis::PolyAnalyzer;
    use KinoSearch::Util::ToolSet;
    ...
    }
    
    1;