David Boyce > Env-Path-0.19 > Whence

Download:
Env-Path-0.19.tar.gz

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source  

NAME ^

Whence - Perl implementation/extension of ksh 'whence' builtin

SYNOPSIS ^

    Whence foo
    Whence '?sh'
    Whence '*stat'
    Whence -f foo\*

DESCRIPTION ^

This is a Perl implementation of the ksh whence builtin, similar to csh which or bash type -p. It differs from these in two ways: (1) it finds all occurrences of its arguments on PATH rather than just the first and (2) it treats its arguments as patterns, such that Whence cat* will return all commands that start with cat rather than looking for a literal 'cat*'.

AUTHOR ^

David Boyce <dsbperl AT boyski.com>

COPYRIGHT ^

Copyright (c) 2000-2002 David Boyce. All rights reserved. This Perl program is free software; you may redistribute and/or modify it under the same terms as Perl itself.

SEE ALSO ^

perl(1), ksh(1), "perldoc Env::Path"

syntax highlighting: