projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68879d9
)
L.dump
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 27 Dec 2010 13:02:30 +0000
(14:02 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 27 Dec 2010 13:02:30 +0000
(14:02 +0100)
SL/Template/Plugin/L.pm
patch
|
blob
|
history
diff --git
a/SL/Template/Plugin/L.pm
b/SL/Template/Plugin/L.pm
index
9aead01
..
b9098ec
100644
(file)
--- a/
SL/Template/Plugin/L.pm
+++ b/
SL/Template/Plugin/L.pm
@@
-397,6
+397,12
@@
EOCODE
return $code;
}
+sub dump {
+ my $self = shift;
+ require Data::Dumper;
+ return '<pre>' . Data::Dumper::Dumper(@_) . '</pre>';
+}
+
1;
__END__
@@
-586,6
+592,10
@@
translation of 'Selected'.
=back
+=item C<dump REF>
+
+Dumps the Argument using L<Data::Dumper> into a E<lt>preE<gt> block.
+
=back
=head2 CONVERSION FUNCTIONS