- or download this
script1.pl
script2.pl && script3.pl
- or download this
script1 || script2;
- or download this
P:\test>perl -e"exit 1" && echo succeeded || echo failed
failed
...
P:\test>perl -e"die" && echo succeeded || echo failed
Died at -e line 1.
failed
- or download this
(prog1 && prog1) || (prog3 || prog4)