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
In reply to Re^2: beginner - can't load a module
by roboticus
in thread beginner - can't load a module
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |