App-pwhich

 view release on metacpan or  search on metacpan

lib/App/pwhich.pm  view on Meta::CPAN

use warnings;
use 5.008001;
use File::Which qw( which );
use Getopt::Std qw( getopts );   ## no critic (Community::PreferredAlternatives)

# ABSTRACT: Perl-only `which`
our $VERSION = '1.17'; # VERSION

sub main
{
  local @ARGV;
  my $prog;
  ($prog, @ARGV) = @_;

  my %opts;

  if($prog eq 'which')
  {
    getopts('avs', \%opts) || return _usage();
    return _version() if $opts{v};
    return _usage() unless @ARGV;

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

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