/^MAIL/ && do { $text = $execute; $syscmd = "echo $text $attributes{MSG} | mail $attributes{EADD}"; system ( $syscmd ); last SWITCH; };