Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^3: Issues when testing module loading

by moritz (Cardinal)
on Jun 03, 2008 at 16:16 UTC ( #689927=note: print w/replies, xml ) Need Help??

in reply to Re^2: Issues when testing module loading
in thread Issues when testing module loading

my bad, warnings only effects the lexical scope, and the warnings are generated inside the POSIX module.

One workaround is to explicitly only import a non-conflicting sub BEGIN{ use_ok( 'POSIX', 'setsid' ); }. Or use require_ok, which doesn't import anything.

Or don't test for POSIX at all, it's been core since perl 5, and not likely to go away any time soon.

Replies are listed 'Best First'.
Re^4: Issues when testing module loading
by skx (Parson) on Jun 03, 2008 at 18:48 UTC

    I will stop testing for POSIX, as you suggest. (The test file is automatically generated; but I can add an exception to it without too much difficulty!)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://689927]
[choroba]: We say "Eat breakfest alone, eat lunch with a friend, give dinner to an enemy"
[choroba]: But you know who's your greatest enemy, right? *wink*
[Discipulus]: so also the dinner alone?

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-10-19 11:47 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (252 votes). Check out past polls.