lib/PAR/StrippedPARL/Static.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
_data_pos
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package PAR::StrippedPARL::Static;
2 use 5.008001;
3 use strict;
4 use warnings;
5 our $VERSION = '0.958';
6  
7 use base 'PAR::StrippedPARL::Base';
8  
9 our $Data_Pos = tell DATA;
10  
11 =head1 NAME
12  
13 PAR::StrippedPARL::Static - Data package containing a static PARL
14  
15 =head1 SYNOPSIS
16  
17 # For details, see PAR::StrippedPARL::Base.
18 PAR::StrippedPARL::Static->write_parl($file) or die "Some error...";
19  
20 =head1 DESCRIPTION
21  
22 This class is internal to PAR. Do not use it outside of PAR.
23  
24 This class is basically just a container for a static binary PAR loader
25 which doesn't include the PAR code like the F<parl> or F<parl.exe>
26 you are used to. If you're really curious, I'll tell you it is
27 just a copy of the F<myldr/static> (or F<myldr/static.exe>) file.
28  
29 The data is appended during the C<make> phase of the PAR build process.
30  
31 If the binary data isn't appended during the build process, the class
32 methods will return the empty list.
33  
34 =head1 CLASS METHODS
35  
36 Inherits the methods from L<PAR::StrippedPARL::Base>.
37  
38 =cut
39  
40 sub _data_pos {
41 my $class = shift;
42 return $Data_Pos;
43 }
44  
45 =head1 AUTHORS
46  
47 Steffen Mueller E<lt>smueller@cpan.orgE<gt>,
48 Audrey Tang E<lt>cpan@audreyt.orgE<gt>
49  
50 =head1 COPYRIGHT AND LICENSE
51  
52 Copyright 2006-2009 by Steffen Mueller E<lt>smueller@cpan.orgE<gt>.
53  
54 This program is free software; you can redistribute it and/or
55 modify it under the same terms as Perl itself.
56  
57 See F<LICENSE>.
58  
59 =cut
60  
61 $^V eq 5.44.0
62 or die sprintf("Perl (%s) version (%vd) doesn't match the version (5.44.0) ".
63 "that PAR::Packer was built with; please rebuild PAR::Packer",
64 $^X, $^V);
65  
66 1;
67  
68 __DATA__