Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

(tye)Re: Coding for two platforms in one Script

by tye (Sage)
on Dec 06, 2001 at 01:40 UTC ( [id://129770]=note: print w/replies, xml ) Need Help??


in reply to Coding for two platforms in one Script

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")

Replies are listed 'Best First'.
Re: (tye)Re: Coding for two platforms in one Script
by BoredByPolitics (Scribe) on Dec 06, 2001 at 17:01 UTC

    Thanks tye, that page has given me some food for thought. Your point about EVENTLOG_WARNING_TYPE() has finally sunk in too ;-)

    Many thanks to all who responded on this - it's most appreciated.

    Pete

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://129770]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-26 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found