Revision 70e38287
Von Bernd Bleßmann vor mehr als 9 Jahren hinzugefügt
SL/SessionFile/Random.pm | ||
---|---|---|
37 | 37 |
|
38 | 38 |
use SL::SessionFile::Random; |
39 | 39 |
|
40 |
# Create a session file named "customer.csv" (relative names only)
|
|
41 |
my $sfile = SL::SessionFile::Random->new("w"); |
|
40 |
# Create a session file with a unique random name
|
|
41 |
my $sfile = SL::SessionFile::Random->new(mode => "w");
|
|
42 | 42 |
$sfile->fh->print("col1;col2;col3\n" . |
43 | 43 |
"value1;value2;value3\n"); |
44 | 44 |
$sfile->fh->close; |
45 | 45 |
|
46 | 46 |
=head1 DESCRIPTION |
47 | 47 |
|
48 |
This modules gives you a random file in the current session cache that is guaranteed to be unique |
|
48 |
This modules gives you a random file in the current session cache that is |
|
49 |
guaranteed to be unique. |
|
49 | 50 |
|
50 | 51 |
=head1 FUNCTIONS |
51 | 52 |
|
52 |
same as SL::SessioNFile
|
|
53 |
same as SL::SessionFile
|
|
53 | 54 |
|
54 | 55 |
=head1 BUGS |
55 | 56 |
|
Auch abrufbar als: Unified diff
Typos in POD.