in reply to Unable to install CGI::Session on a hosted site

That should be

use lib '~/cgi-bin/lib';

cause use CGI::Session searches for CGI/Session.pm.

Replies are listed 'Best First'.
Re^2: Unable to install CGI::Session on a hosted site
by almut (Canon) on Oct 06, 2007 at 09:07 UTC

    Another problem is the '~' in the path. In contrast to most shells, Perl will not expand ~ to your home directory (and there's no shell involved here).  Treating it literally typically isn't what you want...