The solution was $! and, as Athanasius points out, die had nothing to do with it other than to illustrate that the variable is available ;-)
Cheers,
JohnGG
In reply to Re^3: stat : error handling
by johngg
in thread stat : error handling
by gepebril69
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |