in reply to Writing SNMP walk to CSV file

Do you close the filehandle? Granted, the file should be automatically closed when the script exits, but just in case the buffer doesn't get flushed, you should explicitly close it yourself.

Replies are listed 'Best First'.
Re^2: Writing SNMP walk to CSV file
by getwithrob (Initiate) on Sep 22, 2005 at 19:10 UTC
    How do I do this. Remember, I'm not a programmer....
      Follow the helpful link. Or:
      close NODES; close CSV;
        Do I do it like this?
        open (NODES, "<$nodes") or die "could not open nodes file $nodes"; + close NODES; open (CSV, ">$csv") or die "could not open scv file $csv"; $tmp = join(",",@columns); close CSV; print CSV "$tmp\n"; while (<NODES>) { chop;