You could also just use the || command on whatever command you wanted to run and pipe the output out. and put a variable holder for the data line into the output.
Like the following:
open(DGRAB, $chunklookup) || die ("Could not open $chunklookup (DATA TO GRAB) \n");
In reply to Re: How to modify a warning message within a sub?
by Monkomatic
in thread How to modify a warning message within a sub?
by Marshall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |