Create a new object.
my $o_chk = Oracle::Trace::Chunk->new();
Initialise a Chunk, set the oid:
Chunk
$o_chk->parse;
Return the id of this object.
my $oid = $o_chk->oid;
Parse the given string appropriately, expecting to be overriden.
Returns the object
$o_chk->parse($string);
Return an array of object data keys, restricted by optional regex.
my @keys = $o_chk->keys($regex);
Return the value(s) for the given key.
my ($val/s) = $o_chk->value($key);
Return statement/s for an entry:
my $s_stmt = $o_ent->statement;
Oracle::Trace::Chunk - Perl Module for parsing Oracle Trace Chunks
use Oracle::Trace::Chunk; my $o_chk = Oracle::Trace::Chunk->new($string)->parse; print "Statement: ".join("\n", $o_chk->statement);
Module to parse Oracle Trace Chunks.
None by default.
http://www.rfi.net/oracle/trace/
Richard Foley, <oracle.trace@rfi.net>
Copyright (C) 2003 by Richard Foley
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.1 or, at your option, any later version of Perl 5 you may have available.
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Oracle::Trace, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Oracle::Trace
CPAN shell
perl -MCPAN -e shell install Oracle::Trace
For more information on module installation, please visit the detailed CPAN module installation guide.