App-optex-pingu

 view release on metacpan or  search on metacpan

lib/App/optex/pingu.pm  view on Meta::CPAN

use App::optex::util::filter qw(io_filter);

sub finalize {
    our($mod, $argv) = @_;
    #
    # private option handling
    #
    if (@$argv and $argv->[0] !~ /^-M/ and
	defined(my $i = first { $argv->[$_] eq '--' } keys @$argv)) {
	splice @$argv, $i, 1; # remove '--'
	if (local @ARGV = splice @$argv, 0, $i) {
	    use Getopt::Long qw(GetOptionsFromArray);
	    Getopt::Long::Configure qw(bundling);
	    GetOptions \%opt, hash_to_spec \%opt or die "Option parse error.\n";
	}
    }
    io_filter(\&pingu, STDOUT => 1);
}

sub get_image {
    my $name = shift;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.107 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )