Very good spot by Anonymous Monk!
Most likely you are on Windows, or on a case-insensitive file system. That way, Perl loads a file Myapp/Controller/Login.pm even if you ask for MyApp/Controller/Login.pm (note the capital "A" in MyApp). Perl itself remains case-sensitive and looks for a class MyApp::Controller::Login, but your module only declares Myapp::Controller::Login with a lowercase "a".
In the part of your setup that you haven't shown, you are mixing up Myapp and MyApp. Correct that and maybe things work differently.
|