| 1 | package Unix::Getrusage; | ||
| 2 | |||
| 3 | 1 | ▶ | use 5.008006; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | require Exporter; | |
| 8 | 1 | ▶ | use AutoLoader qw(AUTOLOAD); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 1 | our @ISA = qw(Exporter); | |
| 11 | |||
| 12 | # Items to export into callers namespace by default. Note: do not export | ||
| 13 | # names by default without a very good reason. Use EXPORT_OK instead. | ||
| 14 | # Do not simply export all your public functions/methods/constants. | ||
| 15 | |||
| 16 | # This allows declaration use Unix::Getrusage ':all'; | ||
| 17 | # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK | ||
| 18 | # will save memory. | ||
| 19 | 1 | our %EXPORT_TAGS = ( 'all' => [ qw(getrusage getrusage_children) ] ); | |
| 20 | |||
| 21 | 1 | our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); | |
| 22 | |||
| 23 | 1 | our @EXPORT = qw(getrusage getrusage_children); | |
| 24 | |||
| 25 | 1 | our $VERSION = '0.03'; | |
| 26 | |||
| 27 | 1 | require XSLoader; | |
| 28 | 1 | XSLoader::load('Unix::Getrusage', $VERSION); | |
| 29 | |||
| 30 | # Preloaded methods go here. | ||
| 31 | |||
| 32 | # Autoload methods go after =cut, and are processed by the autosplit program. | ||
| 33 | |||
| 34 | 1 | 1; | |
| 35 | __END__ | ||