Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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.


Comment on Re^2: Mulit-Platform use case
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2014-08-27 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (237 votes), past polls