use MyModule; use CGI; # process other thing here... my $result = process_other_thing_here(); MyModule::something($result);