From: Gurusamy Sarathy Date: Wed, 11 Jun 1997 00:00:00 +0000 (+1200) Subject: Pod::Text nit for Win32 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2e0a0b36a38800f17a096c56d6ea69fba3142907;p=p5sagit%2Fp5-mst-13.2.git Pod::Text nit for Win32 --- diff --git a/lib/Pod/Text.pm b/lib/Pod/Text.pm index f723bb3..2b6c6b6 100644 --- a/lib/Pod/Text.pm +++ b/lib/Pod/Text.pm @@ -79,7 +79,7 @@ if($termcap and !$setuptermcap) { $SCREEN = ($_[0] =~ /^-(\d+)/ && (shift, $1)) || $ENV{COLUMNS} || ($ENV{TERMCAP} =~ /co#(\d+)/)[0] - || (`stty -a 2>/dev/null` =~ /(\d+) columns/)[0] + || ($^O ne 'MSWin32' && (`stty -a 2>/dev/null` =~ /(\d+) columns/)[0]) || 72; @_ = ("<&STDIN") unless @_;