summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Debug.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-02-24 15:05:11 +0000
committerfukachan <fukachan>2001-02-24 15:05:11 +0000
commitaee17f4c0899cd60af2d2fb374bedf4578cc687b (patch)
tree28cd452a9d96819377f67e556d6e6333761fc3e3 /fml/lib/FML/Debug.pm
parent1dab78e6cea0eb908ac1c8b3ba68c536b1399d9e (diff)
downloadfml8-aee17f4c0899cd60af2d2fb374bedf4578cc687b.tar.gz
fml8-aee17f4c0899cd60af2d2fb374bedf4578cc687b.tar.bz2
fml8-aee17f4c0899cd60af2d2fb374bedf4578cc687b.zip
clean up documenets
Diffstat (limited to 'fml/lib/FML/Debug.pm')
-rw-r--r--fml/lib/FML/Debug.pm11
1 files changed, 8 insertions, 3 deletions
diff --git a/fml/lib/FML/Debug.pm b/fml/lib/FML/Debug.pm
index 1d17c3a5..279c943d 100644
--- a/fml/lib/FML/Debug.pm
+++ b/fml/lib/FML/Debug.pm
@@ -17,11 +17,12 @@ FML::Debug -- debug utilities
use FML::Debug;
FML::Debug->show_structure( $variable );
-=head1 METHOD
+=head1 METHODS
=item show_structure()
It shows the data structure for the given variable.
+It is just an wrapper for L<Data::Dumper>.
=cut
@@ -35,11 +36,15 @@ sub new
}
+# Descriptions: dump the target data structure
+# Arguments: $self target
+# Side Effects: none
+# Return Value: none
sub show_structure
{
- my ($class, $ref) = @_;
+ my ($self, $r_target) = @_;
use Data::Dumper;
- print Dumper( $ref );
+ print Dumper( $r_target );
}