Zebu has asked for the wisdom of the Perl Monks concerning the following question:
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];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: How may I know why it died?
by gryng (Hermit) on Jul 15, 2000 at 02:38 UTC | |
by nardo (Friar) on Jul 15, 2000 at 06:23 UTC | |
|
RE: How may I know why it died?
by Adam (Vicar) on Jul 15, 2000 at 02:47 UTC | |
by Abigail (Deacon) on Jul 15, 2000 at 11:16 UTC | |
|
(chromatic) Re: How may I know why it died?
by chromatic (Archbishop) on Jul 15, 2000 at 06:32 UTC | |
by Abigail (Deacon) on Jul 15, 2000 at 11:08 UTC |