example.pl untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/perl
2 #
3 # Trivial example to demonstrate use of the Text::LineEditor module.
4 #
5 # ObLegalStuff:
6 # Copyright (c) 1998 Bek Oberin. All rights reserved. This program is
7 # free software; you can redistribute it and/or modify it under the
8 # same terms as Perl itself.
9 #
10 # Last updated by gossamer on Tue Aug 25 18:53:28 EST 1998
11 #
12  
13  
14 use Text::LineEditor;
15  
16 my $text = line_editor();
17  
18 print "You entered:\n---\n";
19 print $text;
20 print "---\n";
21  
22