Tie::Trace

Tie::Trace can easy print debugging with tie.
Download

Tie::Trace Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ktat
  • Publisher web site:
  • http://search.cpan.org/~ktat/CGI-MakeItStatic-0.03/lib/CGI/MakeItStatic.pm

Tie::Trace Tags


Tie::Trace Description

Tie::Trace can easy print debugging with tie. Tie::Trace can easy print debugging with tie.SYNOPSIS use Tie::Trace; my %hash; tie %hash, "Tie::Trace"; $hash{hoge} = 'hogehoge'; # warn Hash => Key: hoge, Value: hogehgoe at ... my @array; tie @aray, "Tie::Trace"; push @array, "array"; # warn Array => Point: 0, Value: array at ... my $scalar; tie $scalar, "Tie::Trace"; $scalar = "scalar"; # warn Scalar => Value: scalar at ...This is usefull for print debugging. Using tie mechanism, you can see sotred value for the specified variable.If the stored value is scalar/array/hash ref, this can check recursively.for example; tie %hash, "Tie::Trace"; $hash{foo} = {a => 1, b => 2}; # warn ... $hash{foo}->{a} = 2 # warn ...But This ignores blessed reference and tied value.Requirements:· Perl


Tie::Trace Related Software