File Coverage

blib/lib/Term/Screen/Lite/Generic.pm
Criterion Covered Total %
statement 11 13 84.6
branch n/a
condition n/a
subroutine 4 5 80.0
pod 0 1 0.0
total 15 19 78.9


line stmt bran cond sub pod time code
1             package Term::Screen::Lite::Generic;
2              
3             $Term::Screen::Lite::Generic::VERSION = '0.06';
4             $Term::Screen::Lite::Generic::AUTHORITY = 'cpan:MANWAR';
5              
6             =head1 NAME
7              
8             Term::Screen::Lite::Generic - Unix/Linux platform interface to terminal screen.
9              
10             =head1 VERSION
11              
12             Version 0.06
13              
14             =cut
15              
16 3     3   1395 use 5.006;
  3         9  
17 3     3   12 use Data::Dumper;
  3         4  
  3         102  
18              
19 3     3   13 use Moo;
  3         3  
  3         13  
20 3     3   784 use namespace::clean;
  3         5  
  3         24  
21              
22             =head1 DESCRIPTION
23              
24             B
25              
26             =cut
27              
28             sub clear {
29 0     0 0   print "\033[2J";
30 0           print "\033[0;0H";
31             }
32              
33             =head1 AUTHOR
34              
35             Mohammad S Anwar, C<< >>
36              
37             =head1 REPOSITORY
38              
39             L
40              
41             =head1 BUGS
42              
43             Please report any bugs or feature requests to C,
44             or through the web interface at L.
45             I will be notified and then you'll automatically be notified of progress on your
46             bug as I make changes.
47              
48             =head1 SUPPORT
49              
50             You can find documentation for this module with the perldoc command.
51              
52             perldoc Term::Screen::Lite::Generic
53              
54             You can also look for information at:
55              
56             =over 4
57              
58             =item * RT: CPAN's request tracker (report bugs here)
59              
60             L
61              
62             =item * AnnoCPAN: Annotated CPAN documentation
63              
64             L
65              
66             =item * CPAN Ratings
67              
68             L
69              
70             =item * Search CPAN
71              
72             L
73              
74             =back
75              
76             =head1 LICENSE AND COPYRIGHT
77              
78             Copyright (C) 2015 - 2017 Mohammad S Anwar.
79              
80             This program is free software; you can redistribute it and / or modify it under
81             the terms of the the Artistic License (2.0). You may obtain a copy of the full
82             license at:
83              
84             L
85              
86             Any use, modification, and distribution of the Standard or Modified Versions is
87             governed by this Artistic License.By using, modifying or distributing the Package,
88             you accept this license. Do not use, modify, or distribute the Package, if you do
89             not accept this license.
90              
91             If your Modified Version has been derived from a Modified Version made by someone
92             other than you,you are nevertheless required to ensure that your Modified Version
93             complies with the requirements of this license.
94              
95             This license does not grant you the right to use any trademark, service mark,
96             tradename, or logo of the Copyright Holder.
97              
98             This license includes the non-exclusive, worldwide, free-of-charge patent license
99             to make, have made, use, offer to sell, sell, import and otherwise transfer the
100             Package with respect to any patent claims licensable by the Copyright Holder that
101             are necessarily infringed by the Package. If you institute patent litigation
102             (including a cross-claim or counterclaim) against any party alleging that the
103             Package constitutes direct or contributory patent infringement,then this Artistic
104             License to you shall terminate on the date that such litigation is filed.
105              
106             Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND
107             CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
108             WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
109             NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS
110             REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT,
111             INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE
112             OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
113              
114             =cut
115              
116             1; # End of Term::Screen::Lite::Generic