I am partial to the FindBin module.
use FindBin qw($Bin $Script);
A few other path options, just ref the perldoc.
Jeremy Elston
Sr. Staff Unix System Administrator
Electronic Brokerage Technology
Charles Schwab & Co., Inc.
(602.431.2087 [EMAIL PROTECTED])
"Life is the final exam where no one can cheat, because we all have
different problems to solve."
WARNING: All email sent to this address will be received by the Charles
Schwab Corporate email system and is subject to archival and review by
someone other than the recipient
-----Original Message-----
From: Michael Mehlmann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 3:34 AM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] get name (including full path) of executed
script
Hi!
I'm wondering:
in $0 is the current script name, but how do I get the full path???
every help appreciated
thanks
Michi
--
Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne
Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung!
http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users