new

Create a new object.

my $o_chk = Oracle::Trace::Chunk->new();
init

Initialise a Chunk, set the oid:

$o_chk->parse;
oid

Return the id of this object.

my $oid = $o_chk->oid;
parse

Parse the given string appropriately, expecting to be overriden.

Returns the object

$o_chk->parse($string);
keys

Return an array of object data keys, restricted by optional regex.

my @keys = $o_chk->keys($regex);
value

Return the value(s) for the given key.

my ($val/s) = $o_chk->value($key);
statement

Return statement/s for an entry:

my $s_stmt = $o_ent->statement;

NAME

Oracle::Trace::Chunk - Perl Module for parsing Oracle Trace Chunks

SYNOPSIS

use Oracle::Trace::Chunk;

my $o_chk = Oracle::Trace::Chunk->new($string)->parse;

print "Statement: ".join("\n", $o_chk->statement);

DESCRIPTION

Module to parse Oracle Trace Chunks.

EXPORT

None by default.

SEE ALSO

http://www.rfi.net/oracle/trace/

AUTHOR

Richard Foley, <oracle.trace@rfi.net>

COPYRIGHT AND LICENSE

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:

Around line 18:

'=item' outside of any '=over'

Around line 136:

You forgot a '=back' before '=head1'