| Message: 94446 |
 |
BY: Tim Nicholson (nichot20) DATE: 2010-08-05 07:26 SUBJECT: RE: Passing paramters to a script (not ocra) Running my script without parameters works fine. When it does this it simply exits cleanly (Having already performed all the requires). This mimics your suggestion above afaik.
*However* under this condition although a library was "required", it was not invoked and therefore ocra did not bother to include it. Adding in a dummy call to a routine in the library fixed the issue.
I therefore think that ocra is trying to be somewhat cleverer than you allow for; and your assertion that "ocra executes your script for the sole purpose of determining all of the 'require' statements. Once this is done, your script can be halted." is not true. | |