I have been having an anomaly of late . I have a script in which i use STDOUT to show logs and errors alike to the console and it runs perfectly locally
However when i deploy it and use a TWS scheduler to run it like below:
perl script.perl "arg" >> log.log 2>&1It throws an error and stops the script. The error thrown is about not calling finish on a handle before disconnecting the DB
I am pretty sure i have done that and it never pops up when running normally (without piping to log ) . I have subdued the problem by calling finish explicitly before disconnecting DB. But i would love to know what's happening
In reply to error while piping output by sandy105
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |