Earl Hood wrote:
>
> Probably quicker to just subtract 100 from $year if $year > 100
> after $yearfull has been set:
>
> $year -= 100 if $year > 100;
Well, 100 must be included, of course:
$year -= 100 if $year >= 100;
/ Gunnar
problem is solved - thanks to the many people who offered suggestions
in the end, it was easiest to delete the .mhonarc.db, index.html, and
threads.html and reconstruct and restart mhonarc
earl - sorry i wasted your time
John Hogan
Systems Administrator
SparkLIST.com Corporation The Business
In <[EMAIL PROTECTED]>,
Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
>Earl Hood wrote:
>>
>> Probably quicker to just subtract 100 from $year if $year > 100
>> after $yearfull has been set:
>>
>> $year -= 100 if $year > 100;
>
>Well, 100 must be included, of course:
>
> $year -= 100
I have noticed that some of the archives that are out there are layed out
differently than the examples that are showned in the distribution package.
What I would like to do is keep each month seperate yet still have the
threeds for the whole year as one. Is there a way that MHonArc can do this?
[EMAIL PROTECTED] (Denis McKeon) wrote:
>In <[EMAIL PROTECTED]>,
>Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
>>Earl Hood wrote:
>>>
>>> Probably quicker to just subtract 100 from $year if $year > 100
>>> after $yearfull has been set:
>>>
>>> $year -= 100 if $year > 100;
>>
>>Well, 100 m
On January 14, 2000 at 19:47, 5-i's wrote:
> Everyone seems to be considering number solutions when I see a string
> problem:
>
> $year = substr ($year, -2);
One must consider performance of converting to and from string to
number by perl. If $year is always treated as a number, then you save
On January 14, 2000 at 08:16, Denis McKeon wrote:
> >Well, 100 must be included, of course:
> >
> > $year -= 100 if $year >= 100;
>
> How about:
>
> $yearfull = $year + 1900;
> $year %= 100;
What, and be YN.NK complient? Smarty pants.
--ewh
P.S. If MHonArc is still in