Something like this?
my $q = CGI->new; if ( $q->param('btn_name') ) { system('sh myscript'); } [download]
In reply to Re: Bash script from CGI Perl by ahmad in thread Bash script from CGI Perl by realn0whereman