my $scale = `/www/2cgi-bin/res2.pl $file`;
res2.pl contains this:
...and others 'die' commands. The problem is that $scale doesn't get the die reason. Is there another way than putting a "print diereason then die"?die "No parameters given" unless $img = $ARGV[0];
In reply to How may I know why it died? by Zebu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |