]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Typos in POD.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Thu, 17 Sep 2015 09:32:15 +0000 (11:32 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Thu, 17 Sep 2015 09:32:15 +0000 (11:32 +0200)
SL/SessionFile.pm
SL/SessionFile/Random.pm

index bf6c313dcffc3e4a4086c588f974bf5cd762c5c9..7536b56d3adbac3c78f8b2f1c891b6eb4d775c98 100644 (file)
@@ -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>.
 
 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.
 
 
 Opens the file_name given at creation with the given parameters.
 
index 366baf4399108eecf964b4c817671cff143b1c9c..6a1800ef115e8f08053aa1763d7ec4609359281e 100644 (file)
@@ -37,19 +37,20 @@ SL::SessionFile::Random - SessionFile with a random name
 
   use SL::SessionFile::Random;
 
 
   use SL::SessionFile::Random;
 
-  # Create a session file named "customer.csv" (relative names only)
-  my $sfile = SL::SessionFile::Random->new("w");
+  # Create a session file with a unique random name
+  my $sfile = SL::SessionFile::Random->new(mode => "w");
   $sfile->fh->print("col1;col2;col3\n" .
                     "value1;value2;value3\n");
   $sfile->fh->close;
 
 =head1 DESCRIPTION
 
   $sfile->fh->print("col1;col2;col3\n" .
                     "value1;value2;value3\n");
   $sfile->fh->close;
 
 =head1 DESCRIPTION
 
-This modules gives you a random file in the current session cache that is guaranteed to be unique
+This modules gives you a random file in the current session cache that is
+guaranteed to be unique.
 
 =head1 FUNCTIONS
 
 
 =head1 FUNCTIONS
 
-same as SL::SessioNFile
+same as SL::SessionFile
 
 =head1 BUGS
 
 
 =head1 BUGS