in reply to Re: beginner - can't load a module
in thread beginner - can't load a module

Tragically flawed!

It's like putting a band-aid on a bullet wound. It may stop the bleeding there, but it does nothing to solve the real problem. Using single quotes (as already mentioned) is a real fix. An illustration of one of the problems with the bit of code you've offered:

use lib join ' ', qw ( C:\Path with varying spaces between wor +ds );

...roboticus