The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Devel::Agent::Util - Agent utilities

SYNOPSIS

  use Devel::Agent;
  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