Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Mulit-Platform use case

by cdarke (Prior)
on Mar 19, 2009 at 20:23 UTC ( #751860=note: print w/replies, xml ) Need Help??


in reply to Re: Mulit-Platform use case
in thread Mulit-Platform use case

That will not work stand-alone because (as moritz said) use is executed at compile time. Even if placed in a BEGIN block.
For example, on Windows:
use strict; use warnings; if ($^O ne "MSWin32") { use POSIX; } local $, = "\n"; print keys %INC
shows that POSIX.pm is loaded.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://751860]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-07-26 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (390 votes). Check out past polls.