From 70e382870c7675c0ce054579e80336d6349e7fe9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Thu, 17 Sep 2015 11:32:15 +0200 Subject: [PATCH] Typos in POD. --- SL/SessionFile.pm | 2 +- SL/SessionFile/Random.pm | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/SL/SessionFile.pm b/SL/SessionFile.pm index bf6c313dc..7536b56d3 100644 --- a/SL/SessionFile.pm +++ b/SL/SessionFile.pm @@ -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. -=item C +=item C Opens the file_name given at creation with the given parameters. diff --git a/SL/SessionFile/Random.pm b/SL/SessionFile/Random.pm index 366baf439..6a1800ef1 100644 --- a/SL/SessionFile/Random.pm +++ b/SL/SessionFile/Random.pm @@ -37,19 +37,20 @@ SL::SessionFile::Random - SessionFile with a random name 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 -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 -same as SL::SessioNFile +same as SL::SessionFile =head1 BUGS -- 2.20.1