From f4f55336d3a96ab42f7874f90304e078a6201ff3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 27 Dec 2010 14:02:30 +0100 Subject: [PATCH] L.dump --- SL/Template/Plugin/L.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index 9aead0113..b9098ec1a 100644 --- 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 '
' . Data::Dumper::Dumper(@_) . '
'; +} + 1; __END__ @@ -586,6 +592,10 @@ translation of 'Selected'. =back +=item C + +Dumps the Argument using L into a EpreE block. + =back =head2 CONVERSION FUNCTIONS -- 2.20.1