3 |
# $Id$ |
# $Id$ |
4 |
# |
# |
5 |
# $Log$ |
# $Log$ |
6 |
|
# Revision 1.9 2002/12/05 13:54:00 joko |
7 |
|
# + fix: let 'deep_copy' print its message out (instead of die) |
8 |
|
# |
9 |
# Revision 1.8 2002/12/01 22:11:35 joko |
# Revision 1.8 2002/12/01 22:11:35 joko |
10 |
# + sub cmd |
# + sub cmd |
11 |
# + sub run_cmds |
# + sub run_cmds |
213 |
+{map { $_ => deep_copy($this->{$_}) } keys %$this}; |
+{map { $_ => deep_copy($this->{$_}) } keys %$this}; |
214 |
} elsif (ref $this eq "CODE") { |
} elsif (ref $this eq "CODE") { |
215 |
$this; |
$this; |
216 |
} else { die "what type is $_?" } |
#} else { die "deep_copy asks: what type is $this?" } |
217 |
|
} else { print "deep_copy asks: what type is $this?", "\n"; } |
218 |
} |
} |
219 |
|
|
220 |
sub getNewPerlObjectByPkgName { |
sub getNewPerlObjectByPkgName { |