use strict; use My::Application; my $app = My::Application->new; # it's transparent to the programmer, but this is getting # the data from the submitted form data my $user_id = $app->form_data( 'user_id' ); # again, we have application specific data, but from # the database instead of the user form my $user_details = $app->get_user_info( $user );