projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
40d50c5
)
Warning from calls using "use Shell"
Tim Bunce [Wed, 6 Aug 1997 12:00:00 +0000 (
00:00
+1200)]
(this is the same change as commit
a5bda13b0ef005fbbd13265a362caff51359bbc6
, but as applied)
lib/Shell.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Shell.pm
b/lib/Shell.pm
index
bb44b53
..
f4ef431
100644
(file)
--- a/
lib/Shell.pm
+++ b/
lib/Shell.pm
@@
-21,7
+21,7
@@
AUTOLOAD {
my $cmd = $AUTOLOAD;
$cmd =~ s/^.*:://;
eval qq {
- sub $AUTOLOAD {
+ *$AUTOLOAD = sub {
if (\@_ < 1) {
`$cmd`;
}