projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8afc33d
)
Document that $0 is set to "-e" when perl is run with -e or -E
Rafael Garcia-Suarez [Sun, 25 Jan 2009 15:57:19 +0000 (16:57 +0100)]
pod/perlvar.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlvar.pod
b/pod/perlvar.pod
index
68573e3
..
d61fad6
100644
(file)
--- a/
pod/perlvar.pod
+++ b/
pod/perlvar.pod
@@
-1021,6
+1021,9
@@
to ps(1) (assuming the operating system plays along). Note that
the view of C<$0> the other threads have will not change since they
have their own copies of it.
+If the program has been given to perl via the switches C<-e> or C<-E>,
+C<$0> will contain the string C<"-e">.
+
=item $[
X<$[>