Owen wrote on 25.01.2005:
>On Mon, 24 Jan 2005 14:31:53 +0100 Jan Eden <[EMAIL PROTECTED]>
>wrote:
>
>>Hi,
>>
>>I create monthly log files with names like statistics_01_2005.log.
>>Now I have a function which returns the logfile name for the current
>>
On Mon, 24 Jan 2005 14:31:53 +0100
Jan Eden <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I create monthly log files with names like statistics_01_2005.log. Now I have
> a function which returns the logfile name for the current month:
>
> sub statfile {
> my @date
Hi,
I create monthly log files with names like statistics_01_2005.log. Now I have a
function which returns the logfile name for the current month:
sub statfile {
my @date = localtime(time);
my ($month, $year) = @date[4,5];
$year += 1900;
$month = sprintf ("%02d"