The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Devel::Agent::Util - Agent utilities

SYNOPSIS

use Devel::Agent::Util qw(flush_row);
my $db=DB->new(
on_frame_end=>\&flush_row,
);
$db->start_trace;
END {
$db->stop_trace;
}

DESCRIPTION

This module exports utility functions for Devel::Agent

Exported Methods

flush_row($agent,$frame,$fh)

Writes the a minimally useful set of frame information to STDERR if $fh is undef, othewise it writes to $fh.

AUTHOR

Michael Shipper mailto:AKALINUX@CPAN.ORG