Audit::DBI::Event - An event as logged by the Audit::DBI module.
Version 1.5.2
use Audit::DBI::Event; my $audit_event = Audit::DBI::Event->new( data => $data, #mandatory ); my $audit_event_id = $audit_event->get_id(); my $information = $audit_event->get_information(); my $diff = $audit_event->get_diff(); my $ipv4_address = $audit_event->get_ipv4_address();
Create a new Audit::DBI::Event object.
my $audit_event = Audit::DBI::Event->new( data => $data, #mandatory );
Note that you should never have to instantiate Audit::DBI::Event objects directly. They are normally created by the Audit::DBI module.
Return the audit event ID.
my $audit_event_id = $audit_event->get_id();
Retrieve the extra information stored, if any.
my $information = $audit_event->get_information();
Retrieve the diff information stored, if any.
my $diff = $audit_event->get_diff();
Return the IPv4 address associated with the audit event.
my $ipv4_address = $audit_event->get_ipv4_address();
Guillaume Aubert, <aubertg at cpan.org>.
<aubertg at cpan.org>
Please report any bugs or feature requests to bug-audit-dbi at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Audit-DBI. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-audit-dbi at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Audit::DBI::Event
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Audit-DBI
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Audit-DBI
CPAN Ratings
http://cpanratings.perl.org/d/Audit-DBI
Search CPAN
http://search.cpan.org/dist/Audit-DBI/
Thanks to ThinkGeek (http://www.thinkgeek.com/) and its corporate overlords at Geeknet (http://www.geek.net/), for footing the bill while I write code for them!
Copyright 2012 Guillaume Aubert.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Audit::DBI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Audit::DBI
CPAN shell
perl -MCPAN -e shell install Audit::DBI
For more information on module installation, please visit the detailed CPAN module installation guide.