Rechercher une page de manuel
HCT::HCT.3pm
Langue: en
Version: 2009-08-08 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
HCT::HCT - HCT core.DESCRIPTION
SUBROUTINES
- print_usage ()
- Prints help information and exit. Detail information about options can be found here: <http://hct.sourceforge.net/doc/usage.html>
- print_version ()
- Prints $HCT::NAME version and exit.
- handle_signals ()
- Set up the signal handlers for either parent or child. Each signal correspond to special subroutine that should handle it:
signalname ==> subroutine signalname_signal
All previous handlers of the captured signals will be saved into %OLD_SIG.
- die_signal (...)
- Replaces "__DIE__" signal.
- restore_signals ()
- Puts captured signals back. Previous signals will be loaded from %OLD_SIG.
- handle_stdout ()
- Redirects "STDOUT". For instance when user wants to save output data in a file it will be redirected to "HCT::OUTPUT_FILE".
The previous "STDOUT" handler will be saved into $OLD_STDOUT.
- restore_stdout ()
- Closes current "STDOUT" handler and loads previous.
- get_options ()
- Gets common and special options.
- get_targetlist (TARGETLIST)
- Builds and returns TARGETLIST.
The TARGETLIST is an hash-array reference that consist of TARGETLIST_ITEM's. TARGET_ITEM structure:
$TARGETLIST_ITEM = { $BATCH_NAME => $BATCH_CONTENT }; $BATCH_CONTENT = { $LANGUAGE => { $DIRECTORY => [$FILE] } };
- init ()
- Initializes the tool: captures signals for handling, initializes HDL's, gets common and special options, captures "STDOUT" if needed.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre