Kyle --
...and then Kyle Babich said...
%
% What do you mean empty? I tried it, it works. When I open the file it
% adds the 1 as the last character of the file. So when I chop it the 1
% gets deleted.
That's only because you print $content at the end of your script --
you're not really prin
What do you mean empty? I tried it, it works. When I open the file it
adds the 1 as the last character of the file. So when I chop it the 1
gets deleted.
On Thu, 1 Aug 2002 18:00:36 -0400, "David T-G"
<[EMAIL PROTECTED]> said:
> Kyle --
>
> ...and then Kyle Babich said...
> %
> % Nevermind,
Actually, I already fixed this problem with a chop().
To answer your question I put the flock()s there and commented them out
incase I do end up writing/appending to the files, which I do plan on
doing.
On Thu, 1 Aug 2002 17:52:13 -0400, "David T-G"
<[EMAIL PROTECTED]> said:
> Kyle --
>
> ...and
Kyle --
...and then Kyle Babich said...
%
% Nevermind, I spoke to soon. I just "chop()"ed the 1 off to fix it.
Um, now it's empty...
bash-2.05a$ cat patient.records
"Electronic patient records are becoming tologically
reified entities that play the role of epistemic patient
an
Kyle --
...and then Kyle Babich said...
%
% I wrote the attached script not realizing that when I open() files it
% would return the 1 when it was sucessful. How would I open a file
Yep.
% without the 1, or anything else besides the content of the file, being
% returned?
Just don't capture
Nevermind, I spoke to soon. I just "chop()"ed the 1 off to fix it.
On Thu, 1 Aug 2002 21:30:49 UT, "Kyle Babich" <[EMAIL PROTECTED]> said:
> I wrote the attached script not realizing that when I open() files it
> would return the 1 when it was sucessful. How would I open a file
> without the 1,
I wrote the attached script not realizing that when I open() files it
would return the 1 when it was sucessful. How would I open a file
without the 1, or anything else besides the content of the file, being
returned?
Thank you,
--
Kyle
index.pl
Description: Perl program
--
To unsubscribe, e