Revision 70e38287
Von Bernd Bleßmann vor mehr als 9 Jahren hinzugefügt
SL/SessionFile.pm | ||
---|---|---|
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.
|
||
|
SL/SessionFile/Random.pm | ||
---|---|---|
|
||
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
|
||
|
Auch abrufbar als: Unified diff
Typos in POD.