in reply to beginner - can't load a module

use lib join ' ', qw( C:\Documents and Settings\Administrator\Desktop\ +Code\BioPerl );
Also see Simple Module Tutorial

Replies are listed 'Best First'.
Re^2: beginner - can't load a module
by roboticus (Chancellor) on Oct 17, 2010 at 13:58 UTC

    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

Re^2: beginner - can't load a module
by Anonymous Monk on Oct 17, 2010 at 08:25 UTC
    Why not simply use single quotes (or q())?

    use lib 'C:\Documents and Settings\Administrator\Desktop\Code\BioPerl' +;