Skip to content

print/say doesn't work on MSWin32 #7

Closed
plicease opened this Issue Sep 9, 2013 · 0 comments

1 participant

@plicease
Owner
plicease commented Sep 9, 2013

saw this code block in Git::Wrapper, which may be illustrative

local *TEMP;
if ($^O eq 'MSWin32' && defined $stdin) {
  my $file = File::Temp->new;
  $file->autoflush(1);
  $file->print($stdin);
  $file->seek(0,0);
  open TEMP, '<&=', $file;
  $wtr = '<&TEMP';
  undef $stdin;
}
@plicease plicease added a commit that referenced this issue Sep 17, 2013
@plicease doco (issue #7) 01f83c1
@plicease plicease closed this Sep 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.