develooper Front page | perl.perl5.porters | Postings from January 2006

[DOC PATCH] $^X isn't necessarily argv[0]

Thread Next
From:
Yitzchak Scott-Thoennes
Date:
January 30, 2006 01:08
Subject:
[DOC PATCH] $^X isn't necessarily argv[0]
Message ID:
20060130090624.GA3760@efn.org
--- perl/pod/perlvar.pod.orig   2006-01-17 08:18:45.000000000 -0800
+++ perl/pod/perlvar.pod        2006-01-30 01:05:06.754971200 -0800
@@ -1196,7 +1196,7 @@
 =item $^X
 
 The name used to execute the current copy of Perl, from C's
-C<argv[0]>.
+C<argv[0]> or (where supported) /proc/self/exe.
 
 Depending on the host operating system, the value of $^X may be
 a relative or absolute pathname of the perl program file, or may

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About