Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Module/Release.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ you may well want to overload it.
=cut

sub get_readme {
open my $fh, '<README' or return '';
open my $fh, '<', 'README' or return '';
my $data = do {
local $/;
<$fh>;
Expand Down Expand Up @@ -1249,7 +1249,7 @@ sub run {
$self->_debug( "$command\n" );
$self->_die( "Didn't get a command!" ) unless defined $command;

open my($fh), "$command |" or $self->_die( "Could not open command [$command]: $!" );
open my($fh), "-|", "$command" or $self->_die( "Could not open command [$command]: $!" );
$fh->autoflush;

my $output = '';
Expand Down