1HCT::HCT(3) User Contributed Perl Documentation HCT::HCT(3)
2
3
4
6 HCT::HCT - HCT core.
7
10 print_usage ()
11 Prints help information and exit. Detail information about options
12 can be found here: <http://hct.sourceforge.net/doc/usage.html>
13
14 print_version ()
15 Prints $HCT::NAME version and exit.
16
17 handle_signals ()
18 Set up the signal handlers for either parent or child. Each signal
19 correspond to special subroutine that should handle it:
20
21 signalname ==> subroutine signalname_signal
22
23 All previous handlers of the captured signals will be saved into
24 %OLD_SIG.
25
26 die_signal (...)
27 Replaces "__DIE__" signal.
28
29 restore_signals ()
30 Puts captured signals back. Previous signals will be loaded from
31 %OLD_SIG.
32
33 handle_stdout ()
34 Redirects "STDOUT". For instance when user wants to save output
35 data in a file it will be redirected to "HCT::OUTPUT_FILE".
36
37 The previous "STDOUT" handler will be saved into $OLD_STDOUT.
38
39 restore_stdout ()
40 Closes current "STDOUT" handler and loads previous.
41
42 get_options ()
43 Gets common and special options.
44
45 get_targetlist (TARGETLIST)
46 Builds and returns TARGETLIST.
47
48 The TARGETLIST is an hash-array reference that consist of
49 TARGETLIST_ITEM's. TARGET_ITEM structure:
50
51 $TARGETLIST_ITEM = { $BATCH_NAME => $BATCH_CONTENT };
52
53 $BATCH_CONTENT = {
54 $LANGUAGE => {
55 $DIRECTORY => [$FILE]
56 }
57 };
58
59 init ()
60 Initializes the tool: captures signals for handling, initializes
61 HDL's, gets common and special options, captures "STDOUT" if
62 needed.
63
64
65
66perl v5.32.0 2020-07-28 HCT::HCT(3)