On 12-01-04 04:37 PM, Jim Green wrote:
Greetings!
basically I need a perl equivalent in bash that does which and gives me the
binary path. I need this because I run my script in different systems I want
the binary automatically adjusted.
Thanks!
Jim.
Perhaps FindBin is the module you want. It finds the "binary" of the
Perl script. See `perldoc FindBin` for details.
FindBin is a standard module and is installed when the rest of Perl is.
For a list of standard pragmatics and modules, see `perldoc perlmodlib`.
--
Just my 0.00000002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about coding.
Never give up your dreams. Give up your goals, plans,
strategy, tactics, and anything that's not working but never
give up your dreams.
http://www.youtube.com/watch?v=cM5A1K6TxxM
"Never, never, never give up."
Winston Churchill
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/