in reply to Run 2 Subroutines after a die
If that is any clearer may be disputed... I think it is, but some may disagree. Maybe '&&' instead of commas are more intiutive between the calls? That works too.open TST, ">>$var1" or One(), Two(), die "Could not open '$var1': $!";
The '1' is, as pointed out, what do returns to your die for printing.
Hope that helps.
|
|---|