PET::Util |
Base class for all Util modules. PET::Dispatcher makes this class inherit all configured modules.
| PET:: | Base class for all Util modules. |
| Variables | |
| $Disp | |
| $Log | |
| Functions | |
| new($DISP_in) | Guess what... |
| getRealRemoteHost() | Returns the remote host (if empty, then looks for forwarded proxy header) |
| init | |
| NAME | Must be overriden in subclasses! |
| toBytesKM | Creates “bytes” value (an integer) from symbolic notation (e.g. |
| loadFile ($file) | Loads a file. |
| saveFile ($file, $content) | Loads a file. |
our $Disp
our $Log
Guess what...
sub new
Returns the remote host (if empty, then looks for forwarded proxy header)
sub getRealRemoteHost
sub init
Must be overriden in subclasses!
sub NAME
Creates “bytes” value (an integer) from symbolic notation (e.g.
sub toBytesKM
Loads a file.
sub loadFile
Loads a file.
sub saveFile