An open API service indexing awesome lists of open source software.

https://github.com/gh0stwizard/p5-proc-pathname

Proc::Pathname - Retrieves the fully qualified path for the program
https://github.com/gh0stwizard/p5-proc-pathname

Last synced: 3 months ago
JSON representation

Proc::Pathname - Retrieves the fully qualified path for the program

Awesome Lists containing this project

README

        

Proc-Pathname version 0.08
==========================

Proc::Pathname - Retrieves the fully qualified path for the program

A common way to retrieve a path for the program is using the variables
$0 and $^X. However, sometimes it is not working for you. So, you have
to find a way to retrieve the path for the program somehow differently.

The module is using system calls to do the job and written as XS module.
This module was made for mine private purposes, mostly, for staticperl.

INSTALLATION

To install this module type the following:

perl Makefile.PL
make
make test
make install

DEPENDENCIES

This module requires these other modules and libraries:

Test

BUGS

Completely broken on OpenBSD as of version 0.08, because of
OpenBSD does not provide a suitable way to determine
a location of a running process. Current implementation is
based on the program `which' and it tries to find a path
via the PATH environment variable.

COPYRIGHT AND LICENCE

Copyright (C) 2016 by Vitaliy V. Tokarev

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.22.0 or,
at your option, any later version of Perl 5 you may have available.