From: "Richard Hartmann" <[EMAIL PROTECTED]>
> for lack of a general list, I decided to send this to this list. I am
> not sure if it is not well outside the scope of this list, if so, I
> apologize.
I think you might have a better chance of a solution on perlmonks.org
> My smallish test case is
Aruna Goke wrote:
>
> I put up a small script to delete old logs and at the same time rotating
> the logs. on my squid log directory ( I can use logrorate and unlink the
> logs, but I choose to test my ability to do that)
>
> however, with my code below, I can see delete the old logs, however, th
Gunnar Hjalmarsson wrote:
> Gunnar Hjalmarsson wrote:
>> Net::FTP uses ascii mode by default, which means that the line
>> endings were converted also when you transferred the file back to
>> your local machine. Consequently, those files should not be identical.
>
> Correction: They _should_ be ide
"John W. Krahn" schreef:
> PeiYu Zeng:
>> Can I modify the contents of a file, without creating a new one?
>
> Yes, but only if you do not change the length of the data (i.e. fixed
> length records.)
Well, for $some (@content_definitions), you can also append of course.
:)
--
Affijn, Ruud
"Ge
PeiYu Zeng wrote:
> Hello,
Hello,
> Can I modify the contents of a file, without creating a new one?
Yes, but only if you do not change the length of the data (i.e. fixed length
records.)
> Now, the method that I modify the contents of a file is:
> open( READHANDLE , "sourceFile" );
> o
I put up a small script to delete old logs and at the same time rotating
the logs. on my squid log directory ( I can use logrorate and unlink the
logs, but I choose to test my ability to do that)
however, with my code below, I can see delete the old logs, however, the
output of the log the s
Hi all,
for lack of a general list, I decided to send this to this list. I am
not sure if it is not well outside the scope of this list, if so, I
apologize.
My smallish test case is as follows (beware potential GMail
linebreaks..):
#!/usr/bin/perl
use strict;
use warnings;
use threads;
use RP