use PAB3::CGI qw(:default); #... PAB3::CGI::init(); #... ... $_REQUEST{'cmd'} ...