in reply to Re^3: Implementing Model-View-Controller
in thread Implementing Model-View-Controller

Ideally, the controller wouldn't do much here. It would read the web request, see that the action requested is a search, read the parameter hair_color=blue from the query string, and then call a method like this:
my @users = User->search(hair_color => $hair_color);
Then it would pass the @users data to a template for display.