perl-Tie-Filehandle-Preempt-Stdin - Preempt STDIN during testing

Property Value
Distribution Mageia 7
Repository Mageia Core i586
Package filename perl-Tie-Filehandle-Preempt-Stdin-0.20.0-3.mga7.noarch.rpm
Package name perl-Tie-Filehandle-Preempt-Stdin
Package version 0.20.0
Package release 3.mga7
Package architecture noarch
Package type rpm
Category Development/Perl
License GPLv1+ or Artistic
Maintainer -
Download size 21.18 KB
Installed size 27.91 KB
Suppose a program requires manual input from the keyboard operator. How do
we test that we have properly handled operator input? More specifically,
how do we incorporate testing for user input in files built on Perl's
standard testing apparatus ('Test::Simple', 'Test::More', etc.)?
Tie::Filehandle::Preempt::Stdin offers one way to do it -- a relatively
simple and unsophisticated todo it. The most difficult part is analyzing
the program to be tested so that you recognize all the points at which
input is needed via STDIN. This in turn requires an understanding of all
the different branches your program flow can take in response to standard
input. Once you know that, you construct a list of dummy data that will be
fed to each test at the points the program, when put into production, would
normally prompt for operator input. This list of dummy data 'pre-empts'
standard input via a tie of filehandle STDIN; hence, the module's name.


Package Version Architecture Repository
perl-Tie-Filehandle-Preempt-Stdin-0.20.0-3.mga7.noarch.rpm 0.20.0 noarch Mageia Core
perl-Tie-Filehandle-Preempt-Stdin - - -


Name Value
perl >= 5.008
perl(Carp) -
perl(Test::Simple) >= 0.440.0
perl(strict) -
perl-base >= 5.28.0


Name Value
perl(Tie::Filehandle::Preempt::Stdin) = 0.20.0
perl-Tie-Filehandle-Preempt-Stdin = 0.20.0-3.mga7


Type URL
Binary Package perl-Tie-Filehandle-Preempt-Stdin-0.20.0-3.mga7.noarch.rpm
Source Package perl-Tie-Filehandle-Preempt-Stdin-0.20.0-3.mga7.src.rpm

Install Howto

  1. Enable the repository in Software Management
  2. Install perl-Tie-Filehandle-Preempt-Stdin rpm package:
    # dnf install perl-Tie-Filehandle-Preempt-Stdin




2018-09-20 - umeabot <umeabot> 0.20.0-3.mga7
(not released yet)
+ Revision: 1287007
- Mageia 7 Mass Rebuild
2017-10-03 - tv <tv> 0.20.0-2.mga7
+ Revision: 1167138
- rebuild with fixed rpm for missing autodeps
2017-09-25 - guillomovitch <guillomovitch> 0.20.0-1.mga7
+ Revision: 1159184
- imported package perl-Tie-Filehandle-Preempt-Stdin
2017-09-25 - cpan2dist 0.02-1mga
- initial mageia release, generated with cpan2dist

See Also

Package Description
perl-Tie-Hash-MultiValue-1.50.0-2.mga7.noarch.rpm Hash w/multiple items under a single key
perl-Tie-IxHash-1.230.0-7.mga7.noarch.rpm Tie-IxHash module for perl
perl-Tie-LogFile-0.100.0-4.mga7.noarch.rpm Interface for maintaining a log
perl-Tie-RefHash-1.390.0-8.mga7.noarch.rpm Use references as hash keys
perl-Tie-RefHash-Weak-0.90.0-8.mga7.noarch.rpm A Tie::RefHash subclass with weakened references in the keys
perl-Tie-Simple-1.40.0-3.mga7.noarch.rpm Create ties without creating full packages
perl-Tie-TextDir-0.60.0-8.mga7.noarch.rpm Interface to directory of file
perl-Tie-ToObject-0.30.0-9.mga7.noarch.rpm Tie to an existing object
perl-Tie-Watch-1.301.0-8.mga7.noarch.rpm Place watchpoints on Perl variables
perl-Time-Clock-1.30.0-2.mga7.noarch.rpm Twenty-four hour clock object with nanosecond precision
perl-Time-Duration-1.200.0-4.mga7.noarch.rpm Rounded or exact English expression of durations
perl-Time-Duration-Parse-0.140.0-2.mga7.noarch.rpm Parse string that represents time duration
perl-Time-Elapsed-0.330.0-1.mga7.noarch.rpm Converts elapsed seconds into a string
perl-Time-Format-1.120.0-8.mga7.noarch.rpm Perl module for date and time formatting
perl-Time-HiRes-1.976.0-1.mga7.i586.rpm High resolution time, sleep, and alarm