XP is just a number | |
PerlMonks |
(tye)Re: Coding for two platforms in one Scriptby tye (Sage) |
on Dec 06, 2001 at 01:40 UTC ( [id://129770]=note: print w/replies, xml ) | Need Help?? |
I suggest you read Conditional compile-time magic (RE: Checking to see if a particular Module is installed) and several other nodes in that thread. There are no "great" answers to this problem. And, for the problem of not being able to type EVENTLOG_WARNING_TYPE, you simply need to instead type EVENTLOG_WARNING_TYPE() since the import will have to happen at run time. - tye (but my friends call me "Tye")
In Section
Seekers of Perl Wisdom
|
|