Subject: | Undefined subroutine &App::Devel::MAT::Explorer::GTK::SVDetail::bytes2size |
Hi Paul,
I was getting these errors any time I double clicked / hit Enter on an item with > 1024 bytes:
*** Undefined subroutine &App::Devel::MAT::Explorer::GTK::SVDetail::bytes2size called at /home/kclark/perl5/lib/perl5/App/Devel/MAT/Explorer/GTK/SVDetail.pm line 55.
*** ignoring at /home/kclark/perl5/bin/pmat-explore-gtk line 447.
I think this part of App::Devel::MAT::Explorer::GTK::SVDetail::bytes2size should be changed from:
my $sizestr = $sv->size;
if( $sv->size > 1024 ) {
$sizestr = bytes2size( $sv->size ) . " ($sizestr)";
}
To:
my $sizestr = $sv->size;
if( $sv->size > 1024 ) {
$sizestr = &main::bytes2size( $sv->size ) . " ($sizestr)";
}