projects
/
p5sagit/App-FatPacker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a64bd0c
)
separate tracing to a method
Sawyer X [Thu, 23 Feb 2012 12:21:08 +0000 (14:21 +0200)]
lib/App/FatPacker.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/App/FatPacker.pm
b/lib/App/FatPacker.pm
index
0c11330
..
cdbb400
100644
(file)
--- a/
lib/App/FatPacker.pm
+++ b/
lib/App/FatPacker.pm
@@
-93,6
+93,12
@@
sub script_command_trace {
$arg .= "," . join ",", @additional_use;
}
+ $self->trace($arg, $args);
+}
+
+sub trace {
+ my ($self, $arg, $args) = @_;
+
{
local $ENV{PERL5OPT} = '-MApp::FatPacker::Trace'.$arg;
system $^X, @$args;