upgrade files as objects
This commit is contained in:
parent
8326c63c1e
commit
4a61946399
7 changed files with 62 additions and 36 deletions
|
|
@ -5,10 +5,9 @@ with 'WebGUI::Upgrade::File';
|
|||
sub once { 1 }
|
||||
|
||||
sub run {
|
||||
my $class = shift;
|
||||
my ($upgrade, $configFile, $version, $file) = @_;
|
||||
if ( ! $upgrade->quiet ) {
|
||||
system { $^X } $^X, '-MPod::Perldoc', '-ePod::Perldoc->run', $file;
|
||||
my $self = shift;
|
||||
if ( ! $self->quiet ) {
|
||||
system { $^X } $^X, '-MPod::Perldoc', '-ePod::Perldoc->run', $self->file;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue