Skip to content

Commit

Permalink
explicit method calls
Browse files Browse the repository at this point in the history
  • Loading branch information
guillomovitch committed May 15, 2012
1 parent 5200571 commit 24c4776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/FusionInventory/Agent/Task/Inventory.pm
Expand Up @@ -90,7 +90,7 @@ sub run {
$extension;

my $handle;
if (Win32::Unicode::File->require) {
if (Win32::Unicode::File->require()) {
$handle = Win32::Unicode::File->new('w', $file);
} else {
open($handle, '>', $file);
Expand Down
2 changes: 1 addition & 1 deletion lib/FusionInventory/Agent/Tools/Win32.pm
Expand Up @@ -162,7 +162,7 @@ sub runCommand {
my $command = $params{command};
my $timeout = $params{timeout} || 3600*2;

my $job = Win32::Job->new;
my $job = Win32::Job->new();

my $buff = File::Temp->new();
my $void = File::Temp->new();
Expand Down

0 comments on commit 24c4776

Please sign in to comment.