Example

$ perl -de 1 Loading DB routines from perl5db.pl version 1.37 Editor support available. Enter h or 'h h' for help, or 'perldoc perldebug' for more help. main::(-e:1): 1 DB<1> x use IO::All; use Data::Dump::Streamer; sub dd { Dump(@_); () +; } 0 0 DB<2> x our $banana = io('2.txt'); 0 IO::All::File=GLOB(0x16af5fc) -> DB<3> x dd $banana my ($class,$constructor,%flags,@flags); $class = 'IO::All'; $constructor = sub { package IO::All::Base; use warnings; use strict; my $self = $class->new(@_); foreach $_ (@flags) { $self->$_($flags{$_}); } $self->constructor($constructor); return $self; }; %flags = (); @flags = (); $IO_All_File1 = do{ require Symbol; Symbol::gensym }; *$IO_All_File1 = { _assert => 0, _autoclose => 1, _binary => undef, _binmode => undef, _encoding => undef, _lock => 0, constructor => $constructor, io_handle => undef, is_open => 0, mode => undef, name => '2.txt', package => 'IO::All', tied_file => undef }; bless( $IO_All_File1, 'IO::All::File' ); empty array DB<4> q $

In reply to Re^2: Debugging globjects/globs by Anonymous Monk
in thread Debugging objects by geoffleach

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.