XP is just a number | |
PerlMonks |
Re^3: snmpget is missing some valuesby NetWallah (Canon) |
on Apr 13, 2016 at 21:36 UTC ( [id://1160349]=note: print w/replies, xml ) | Need Help?? |
Re: "echo" vs. local print:
"echo" is invoking an external command (New process), opening a file, and appending to it.
Doing that in perl would avoid the "process creation", and command parsing overhead (Probably nanoseconds, so no big deal). But, being a perl bigot, I'd prefer seeing it in perl. Re: Using a Database: You could, potentially , have a BSID table, annd a CLIENT table, in addition to the log line,to track items. Dates would be better organized, and searching and filtering is easy to do. I have a simple cgi application that presents the contents of a Sqlite DB, to a web page, enabling queries. This is why I would prefer a database. This is not an optical illusion, it just looks like one.
In Section
Seekers of Perl Wisdom
|
|