from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209586

userrating:


May 25th. 2007:
Words

486

Views

258592

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149883

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





PWHICH

Section: User Contributed Perl Documentation (1)
Updated: 202-0-22
Index Return to Main Contents
 

NAME

pwhich - Pure Perl implementation of which  

VERSION

version 1.17  

SYNOPSIS

 $ pwhich perl
 $ pwhich -a perl          # print all matches
 $ pwhich perl perldoc ... # look for multiple programs
 $ pwhich -a perl perldoc ...
 $ pwhich -s perl          # silent mode

 

DESCRIPTION

"pwhich" is a comman-line utility program for finding paths to other programs based on the user's "PATH". It is similar to the usually Unix tool `which', and tries to emulate its functionality, but is written purely in Perl (uses the module "File::Which"), so is portable.  

Calling syntax

 $ pwhich [-a] [-s] [-v] programname [programname ...]

 

Options

-a
The option -a will make "pwhich" print all matches found in the "PATH" variable instead of just the first one. Each match is printed on a separate line.
-s
No output, just return 0 if any of the executables are found, or 1 if none are found.
-v
Prints version (of "File::Which") and copyright notice and exits.
 

SUPPORT

Bugs should be reported via the GitHub issue tracker <https://github.com/uperl/App-pwhich/issues> For other issues, contact the maintainer.  

SEE ALSO

pwhere
File::Which
Perl API for pwhich
App::pwhich
Guts of this script.
 

CAVEATS

This module does not know about buil-in shell commands, as the buil-in command "which" and "where" usually do.

This module is fully supported back to Perl 5.8.1. It may work on 5.8.0.

If you want these executables installed without the "p" prefix (useful on platforms like windows that do not have their own native which or where), set "PERL_APP_PWHICH_NO_PREFIX" to "no-prefix" during install of this module.  

AUTHOR

Original author: Per Einar Ellefsen <pereinar@cpan.org>

Current maintainer: Graham Ollis <plicease@cpan.org>

Contributors:

Adam Kennedy <adamk@cpan.org>  

COPYRIGHT AND LICENSE

This software is copyright (c) 2002-2022 by Per Einar Ellefsen <pereinar@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


 

Index

NAME
VERSION
SYNOPSIS
DESCRIPTION
Calling syntax
Options
SUPPORT
SEE ALSO
CAVEATS
AUTHOR
COPYRIGHT AND LICENSE





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 12.3 ms