So then it really needs to read:
if ( $major == 5 && $minor > 0 || $major > 5 )
since Win2k is 5.0 and WinXP is 5.1 and who knows whether the next
incompatible upgrade to Windows will be called 5.2 or 6.0 or 8.3 ...
On approximately 12/3/2003 6:42 AM, came the following characters from
the keyboard of Aldo Calpini:
Johan Lindstrom wrote:
Maybe it is just me, but the hardcoded $major == 5 (exactly 5) smells a
little bit fragile.
heh. I don't know which [EMAIL PROTECTED] will be needed when $major will
be 6 :-)
but yes, maybe it is safer to assume $major >= 5, thank you.
cheers,
Aldo
__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Perl-Win32-GUI-Hackers mailing list
Perl-Win32-GUI-Hackers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-hackers
--
Glenn -- http://nevcal.com/
===========================
Like almost everyone, I receive a lot of spam every day, much of it
offering to help me get out of debt or get rich quick. It's ridiculous.
-- Bill Gates
And here is why it is ridiculous:
The division that includes Windows posted an operating profit of $2.26
billion on revenue of $2.81 billion.
--from Reuters via
http://biz.yahoo.com/rc/031113/tech_microsoft_msn_1.html
So that's profit of over 400% of investment... with a bit more
investment in Windows technology, particularly in the area of
reliability, the profit percentage might go down, but so might the bugs
and security problems? Seems like it would be a reasonable tradeoff.
WalMart earnings are 3.4% of investment.