in reply to Diff Result Mail Output
Obviously you've gone to some effort, so full marks for supplying the source. Regrettably, it's rather unreadable without <code> tags.
It looks like you're using a backtick to grab some output, and mailing that. But you're not checking to see whether the command was successful or not.
Taking a wild stab in the dark, I would say that the command cleartool is not in the PATH, and you're failing to check what happens when you try to call it. Try amending your script as follows:
@cmdOut = `$cmd`; # add this: if ($?) { die "argh: bad things happened: $?"; }
At least that way if you'll know if the backticked command managed to run correctly. Get back to us when you've done that.
• another intruder with the mooring in the heart of the Perl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Diff Result Mail Output
by uriashea (Initiate) on Mar 27, 2007 at 18:17 UTC |