Backup::Omni::Utils - Utility functions for Backup::Omni
use Backup::Omni::Class version => '0.01', base => 'Backup::Omni::Base', utils => 'db2dt dt2db' ; ... or ... use Backup::Omni::Utils 'dt2db'; printf("%s\n", dt2db($dt));
This module provides utility routines that can by loaded into your current namespace.
This routine will take a date format of YYYY-MM-DD HH:MM:SS and convert it into a DateTime object.
This routine will take a DateTime object and convert it into the following string: YYYY-MM-DD HH:MM:SS
This routine will take a date format of WWW DD MMM YYYY HH:MM:SS PM PST and convert it into a DateTime object.
Convert a temporary session id into the permanent one.
Abort a running session.
Trim the whitespace from the beginning and end of a string.
Trim the whitespace from the end of a string.
Trim the whitespace from the beginning of a string.
Badger::Utils Backup::Omni::Base Backup::Omni::Class Backup::Omni::Constants Backup::Omni::Exception Backup::Omni::Restore::Filesystem::Single Backup::Omni::Session::Filesystem Backup::Omni::Session::Messages Backup::Omni::Session::Monitor Backup::Omni::Session::Results
Kevin L. Esteb, <kesteb@wsipc.org>
Copyright (C) 2013 by WSIPC
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Backup::Omni, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Backup::Omni
CPAN shell
perl -MCPAN -e shell install Backup::Omni
For more information on module installation, please visit the detailed CPAN module installation guide.