Subject: | Text::ProgressBar 0.3 under Windows 7 Home professional |
Date: | Tue, 25 Feb 2014 10:16:27 +0100 |
To: | bug-Text-ProgressBar [...] rt.cpan.org |
From: | Uwe Heine <uwe.heine [...] web.de> |
Hi.
"Let's do business ;-)"
-----------------------------
package Text::ProgressBar;
our $VERSION = '0.3';
-----------------------------
This is perl 5, version 16, subversion 3 (v5.16.3) built for
MSWin32-x86-multi-thread
Binary build 1603 [296746] provided by ActiveState
http://www.ActiveState.com
Built Mar 13 2013 11:29:21
-----------------------------
What I get:
No such signal: SIGWINCH at C:/Perl/site/lib/Text/ProgressBar.pm line 36.
100%|#########################################################################|
-----------------------------
OK, now more polite:
[ I am forced to dwell on a Windows 7 system because the hard disk on my
Linux machine crashed.
My philosophy, though: love thy enemies :-)
]
* I consider this error should be switched off, the TODO is minimal,
only the always present administrative things.
"don't work with any signal that does not exist on th current machine"
(I know, even after 20+ years of Perl I still produce errors myself - so
what ???)
* The CPAN code sample is, on a windows system, not a good one: it led
me to experiment with flushing the output (no good,I know now).
The cause is: fractions of a second on a windows system (sleep 0.2) does
not the expected things.
Better (tested!) is a sample that works for me now:
--> "select(undef, undef, undef, 0.2);
I hope to help Perl to a tiny bit better future.
Regards,
Uwe
--
Uwe Heine
Wietzegraben 72
30179 Hannover
T. 0162 - 837 1929
T. 0511 - 373 68 69 1