in reply to Developing CGI::Application based modules outside of the default @INC

use Bufferlass; ... my $bufferlass = Bufferlass->new();
Your module/package is named Bufferlass::Bufferlass, and its relative file path is Bufferlass/Bufferlass.pm. Therefore you want:
use Bufferlass::Bufferlass; ... my $bufferlass = Bufferlass::Bufferlass->new();
Or maybe you want to rename your package to just 'Bufferlass', and put the pm file in the directory above where it currently is. Look at where some of the standard modules are relative to @INC, and what their package names are (e.g. Env, File::Copy).

Replies are listed 'Best First'.
Re^2: Developing CGI::Application based modules outside of the default @INC
by LesleyB (Friar) on Apr 09, 2008 at 19:44 UTC
    You've just made it crystal clear where I have been going wrong. Thank you.