Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 is loaded.

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-08-03 06:13 GMT
Find Nodes?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...

    Results (25 votes), past polls