[EMAIL PROTECTED] wrote:
> Hi all,
>
> I'm new to perl (that's why I'm here :-).
...and you are getting your first opbject lesson:
use strict;
use warnings;
>
> $tmp_file="users.tmp";
>
> open(TMPDAT, ">$tmp_file") || die ("Could not open temporary file!");
Note $tmp_file
> rename ($temp_file,
G Lams wrote:
>
> I'm new to perl (that's why I'm here :-). I'm building a few cgis allowing
> me to add, modify, delete users in a text file (perl version 5.8.0 on a
> redhat 8 machine).
> So far, I've been able to create the form and the perl scripts to add
> users and verify their existence.
> I
> Hi all,
Howdy
> I'm now trying to delete one user/record inside my text file.
> You will find below the script I wrote. Actually the
> temporary file is created the way it should be but I didn't
> succeed in renaming it to users.dat, saying "no such file or
> directory".
> This should be
Hi all,
I'm new to perl (that's why I'm here :-). I'm building a few cgis allowing
me to add, modify, delete users in a text file (perl version 5.8.0 on a
redhat 8 machine).
So far, I've been able to create the form and the perl scripts to add
users and verify their existence.
I'm now trying to