From: Chris Caswell <chris@ncren.net>
I noticed in the archives (8 Jul 1999) that a user was looking at
writing a copy-to function for writing data to a file. Has anyone made
any progress with this? I also need to be able to save raw data for
other purposes. I've been looking into writing this myself, but being
only a second-rate perl hacker ;-) I'd gladly not re-invent the wheel.
I'd like to write the file with a format of something like ds:value
pairs. The current values are apparant in the @data2 array, and I see
how to get the ds list from the dictionary using the configHash
function. What I need to know is if the order of values in @data2
correspond directly to the order of data sources in the ds list for each
target type? Is there a better way to do this? Also, $ when always seems
to default to the "now" syntax. Am I safe in just using a current Unix
timestamp when I write the data to the file?
Thanks,
-Chris
______________________________________________________________________________
chris@ncren.net - Chris Caswell
Systems / Network Analyst
North Carolina Research and Education Network
919.248.1140
--------------------------- ONElist Sponsor ----------------------------
??? Computer Questions ==> Free Answers From Live Experts ! ! !
go to EXPERTCITY.COM
<a href=" http://clickme.onelist.com/ad/expertcity15 ">Click Here</a>
------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:04 PST