]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Presenter/Text.pm
USTVA: Fall IST-Versteuerung aggregat an der richtigen Stellen
[mfinanz.git] / SL / Presenter / Text.pm
index 539f3804a125f39211c2a49008fd485b59620eed..dd855fc096e42200ecdf4ea8a18f389387870ae6 100644 (file)
@@ -56,8 +56,10 @@ SL::Presenter::Text - Presenter module for assorted text helpers
 
 =head1 SYNOPSIS
 
+  use  SL::Presenter::Text qw(truncate);
+
   my $long_text = "This is very, very long. Need shorter, surely.";
-  my $truncated = $::request->presenter->truncate($long_text, at => 10);
+  my $truncated = truncate($long_text, at => 10);
   # Result: "This is..."
 
 =head1 FUNCTIONS