my @cmd = ( '/path/to/module.sh', 'add', 'modulename', ); system( @cmd ) == 0 or die "Could not execute '@cmd': $!\n";