# Main script use autouse Somemodule => qw(func1 func2); main_script_func { func1(); }