[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dependence on threads.pm?
From: |
Ben Pfaff |
Subject: |
Re: dependence on threads.pm? |
Date: |
Thu, 06 Nov 2008 10:26:54 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Ralf Wildenhues <address@hidden> writes:
> Looks like my try at optional use of threads.pm does not work.
> 'use' seems to be evaluated even in false branches.
Yes, that will happen. I think that you should be able to use
"require" instead of "use" to avoid this behavior. Take a look
at the output of "perldoc -f use" for lots of information.
--
"Note that nobody reads every post in linux-kernel. In fact, nobody who
expects to have time left over to actually do any real kernel work will
read even half. Except Alan Cox, but he's actually not human, but about
a thousand gnomes working in under-ground caves in Swansea." --Linus