Help for this page
sub my_die { open(my $fh, ">>", $dieFile); ... } my $value = somecommand or my_die "$!\n";