1PAR::StrippedPARL::BaseU(s3e)r Contributed Perl DocumentaPtAiRo:n:StrippedPARL::Base(3)
2
3
4

NAME

6       PAR::StrippedPARL::Base - Base class for the PARL data packages
7

SYNOPSIS

9         # Please use one of the siblings of this class instead.
10         use base 'PAR::StrippedPARL::Base';
11

DESCRIPTION

13       This class is internal to PAR. Do not use it outside of PAR.
14
15       This class is basically just a container for a static binary PAR loader
16       which doesn't include the PAR code like the parl or parl.exe you are
17       used to. If you're really curious, I'll tell you it is just a copy of
18       the myldr/static (or myldr/static.exe) file.
19
20       The data is appended during the "make" phase of the PAR build process.
21
22       If the binary data isn't appended during the build process, the two
23       class methods will return the empty list.
24

CLASS METHODS

26   write_parl
27       Takes a file name as argument. Writes the raw binary data in the
28       package to the specified file and embeds the core modules to produce a
29       complete PAR loader (parl).
30
31       Returns true on success or the empty list on failure.
32
33   get_raw
34       Returns the binary data attached to the data package.
35
36       Returns the empty list on failure.
37
38   write_raw
39       Takes a file name as argument and writes the binary data to the file.
40
41       Returns true on success and the empty list on failure.
42

SUBCLASSING

44       Subclasses need to implement the "_data_pos" class method which returns
45       the value of "tell DATA" as it was after the class was loaded.
46

AUTHORS

48       Steffen Mueller <smueller@cpan.org>, Audrey Tang <cpan@audreyt.org>
49
51       Copyright 2006-2009 by Steffen Mueller <smueller@cpan.org>.
52
53       This program is free software; you can redistribute it and/or modify it
54       under the same terms as Perl itself.
55
56       See LICENSE.
57
58
59
60perl v5.32.1                      2021-01-27        PAR::StrippedPARL::Base(3)
Impressum