epic-s6ts
[kivitendo-erp.git] / SL / SessionFile.pm
index bf6c313..8392640 100644 (file)
@@ -26,7 +26,7 @@ sub new {
   }
 
   my $path   = $self->prepare_path;
-  $file_name =~ s:.*/::g;
+  $file_name =~ s{.*/}{}g;
   $file_name =  "${path}/${file_name}";
 
   $self->file_name($file_name);
@@ -153,7 +153,7 @@ Returns the full relative file name associated with this instance. If
 it has been created for "customer.csv" then the value returned might
 be C<users/session_files/e8789b98721347/customer.csv>.
 
-=item C<open%params]>
+=item C<open [%params]>
 
 Opens the file_name given at creation with the given parameters.