- or download this
use strict;
use warnings;
...
}
dumpit();
- or download this
main::mysub:
main::mysub Pad has 17 entries
1: PVNV (0x1b49b24) "$subvar" = NULL (0x1b49b44)
2: PVNV (0x1b49ab4) "@subvar" = AV (0x1b49a74) undef
4: PVNV (0x1b49a44) "%subvar" = HV (0x1b49a24) HASH
- or download this
sub dumpit {
my $out;
...
# Restore STDOUT
open STDOUT, ">&", $oldout or die "Can't dup \$oldout: $!";
}