my $self = $class->SUPER::new;
+ if ($params{session_id}) {
+ $self->session_id($params{session_id})
+ }
+
my $path = $self->prepare_path;
- $file_name =~ s:.*/::g;
+ $file_name =~ s{.*/}{}g;
$file_name = "${path}/${file_name}";
$self->file_name($file_name);
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.