X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/7b6a3af9cc51b982853b572028acc58c8349e2b6..2ecfde54bd40a15f430010faa28ec81383e4eec6:/SL/SessionFile/Random.pm 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