Bob Showalter wrote:
WC -Sx- Jones wrote:
Christian Stalp wrote:
Hello together,
I want to create a tempfile via the function tempfile.
But I want a certain path and name for the file.
The option DIR and SUFFIX and s.o. is clear to me but how can I
set the name of the file? For Exam: temp_file.l
>
> > Did you find a way to set the filename to "temp_file.lock"? The OP has
> > obviously RTFM.
>
> Is no problem now with:
> open LOCK_FH , ">$file_name" or die "cannot create hanlde!\n";
> .
> .
> .
> close LOCK_FH;
>
> unlink ( $file_name ) or warn "cannot delete !\n";
>
> I can do what I
> Did you find a way to set the filename to "temp_file.lock"? The OP has
> obviously RTFM.
Is no problem now with:
open LOCK_FH , ">$file_name" or die "cannot create hanlde!\n";
.
.
.
close LOCK_FH;
unlink ( $file_name ) or warn "cannot delete !\n";
I can do what I want to do. I just thought t
WC -Sx- Jones wrote:
> Christian Stalp wrote:
> > Hello together,
> > I want to create a tempfile via the function tempfile.
> > But I want a certain path and name for the file.
> > The option DIR and SUFFIX and s.o. is clear to me but how can I
> > set the name of the file? For Exam: temp_file.lo
Christian Stalp wrote:
> Hello together,
> I want to create a tempfile via the function tempfile.
> But I want a certain path and name for the file.
> The option DIR and SUFFIX and s.o. is clear to me but how can I
> set the name of the file? For Exam: temp_file.lock or somethink like
> that!?
T
Christian Stalp wrote:
Hello together,
I want to create a tempfile via the function tempfile.
But I want a certain path and name for the file.
The option DIR and SUFFIX and s.o. is clear to me but how can I
set the name of the file? For Exam: temp_file.lock or somethink like that!?
CPAN is your f