line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package EPL2::Command::N; |
2
|
|
|
|
|
|
|
# ABSTRACT: N Command (Clear Image Buffer) |
3
|
|
|
|
|
|
|
$EPL2::Command::N::VERSION = '0.001'; |
4
|
3
|
|
|
3
|
|
485
|
use 5.010; |
|
3
|
|
|
|
|
7
|
|
5
|
3
|
|
|
3
|
|
461
|
use Moose; |
|
3
|
|
|
|
|
287301
|
|
|
3
|
|
|
|
|
15
|
|
6
|
3
|
|
|
3
|
|
12772
|
use MooseX::Method::Signatures; |
|
3
|
|
|
|
|
882475
|
|
|
3
|
|
|
|
|
16
|
|
7
|
3
|
|
|
3
|
|
386
|
use namespace::autoclean; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
17
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
extends 'EPL2::Command'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
#Public Attributes |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
#Methods |
14
|
3
|
|
|
3
|
|
279748
|
method string ( Str :$delimiter = "\n" ) { sprintf '%sN%s', $delimiter, $delimiter; } |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=pod |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=encoding UTF-8 |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
EPL2::Command::N - N Command (Clear Image Buffer) |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 VERSION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
version 0.001 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 SYNOPSIS |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
my $N = EPL2::Command::N->new; |
37
|
|
|
|
|
|
|
say $N->string; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 METHODS |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 string |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
param: ( delimiter => "\n" ) |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Return an EPL2 formatted string for clearing image buffer. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 SEE ALSO |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
L<EPL2> |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
L<EPL2::Types> |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 AUTHOR |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Ted Katseres <tedkat@cpan.org> |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Ted Katseres. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
62
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |