3 |
# $Id$ |
# $Id$ |
4 |
# |
# |
5 |
# $Log$ |
# $Log$ |
6 |
|
# Revision 1.8 2002/12/01 22:11:35 joko |
7 |
|
# + sub cmd |
8 |
|
# + sub run_cmds |
9 |
|
# |
10 |
# Revision 1.7 2002/11/29 04:44:53 joko |
# Revision 1.7 2002/11/29 04:44:53 joko |
11 |
# - sub array_getRelations |
# - sub array_getRelations |
12 |
# + sub getNewPerlObjectByPkgName |
# + sub getNewPerlObjectByPkgName |
51 |
now |
now |
52 |
deep_copy |
deep_copy |
53 |
getNewPerlObjectByPkgName |
getNewPerlObjectByPkgName |
54 |
|
cmd |
55 |
|
run_cmds |
56 |
); |
); |
57 |
|
|
58 |
use Data::Dumper; |
use Data::Dumper; |
224 |
return $pkgname->new($args); |
return $pkgname->new($args); |
225 |
} |
} |
226 |
|
|
227 |
|
sub cmd ($) { |
228 |
|
my $cmd = shift; |
229 |
|
$cmd = 'perl ' . $cmd; |
230 |
|
my $sep = "-" x 90; |
231 |
|
print $sep, "\n"; |
232 |
|
print " ", $cmd, "\n"; |
233 |
|
print $sep, "\n"; |
234 |
|
system($cmd); |
235 |
|
print "\n"; |
236 |
|
} |
237 |
|
|
238 |
|
sub run_cmds { |
239 |
|
foreach (@_) { |
240 |
|
cmd($_); |
241 |
|
} |
242 |
|
} |
243 |
|
|
244 |
1; |
1; |