Writing a script with multiple values


05-07-2007 10:52:21


I'd like to write a script to get multiple values in return.
What is the syntax to do so ?

The get process is long, so I'd like to call it once for all my datas.


05-07-2007 11:50:09

This can be accomplished in several hacky ways.

For processes that take a long time to get the values and return multiple values I would recommend running the get-process from cron and caching its output somewhere that NetMRG can easily get access to it (MySQL database, file that can easily be grepped, etc).



06-07-2007 03:49:15

OK; Thank you. I will try something like that (maybe a flat file will be enough, values are not changing too often).