summaryrefslogtreecommitdiff
path: root/net/p5-POE-Component-SNMP/distinfo
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2008-08-12 09:41:27 +0000
committermartti <martti@pkgsrc.org>2008-08-12 09:41:27 +0000
commit9a61cb6cb759fcd98889bc37c5b3fcafbbf71db1 (patch)
tree6c3d73697e0c90af5c55535345cb68c55f3bdf36 /net/p5-POE-Component-SNMP/distinfo
parent01c6ee74c2fff106a5c0243934efffe1877f43c8 (diff)
downloadpkgsrc-9a61cb6cb759fcd98889bc37c5b3fcafbbf71db1.tar.gz
Updated databases/p5-Data-Table to 1.54
1.54 Sun Feb 10 21:35:02 PST 2008 Modify fromFileGetTopLines method, remove dependency on bytes bytes::substr causes infinite loop in some older version of perl 1.53 Thu Jan 3 21:13:40 PST 2008 add "use bytes" to Table.pm Just patched test.pl, because some OS cannot open in-memory file. 1.52 Fri Dec 14 11:48:42 PST 2007 1.51 Wed Dec 12 15:36:22 PST 2007 1. Add a class methods Data::Table::fromFile(file_name), which can guess the file format and call fromCSV/fromTSV internally. fromFile relies on the following new methods fromFileGuessOS(file_name) fromFileGetTopLines($file_name, $OS, $lineNumber) fromFileIsHeader($string) fromFileGuessDelimiter($arrayRefToLines) to figure out if the input file is from UNIX/PC/MAC, whether its first row contains column headers, and whether it uses ",", "\t" or ":" as field delimiters. It then calls either fromCSV or fromTSV to return the table object. $t = Data::Table::fromFile("myFileName_CSVorTSV_HeaderOrNoHeader_UNIXorPCorMAC "); Please refers to the updated document for details. 2. When fromFile/fromCSV/fromTSV reads from an empty file, it returns an undef object, rather than quit. 3. Provide more informative error message, when invalid column header is found . 4. fixed a bug in 1.51 where fromFileGuessOS failed in Windows Thanks to patches provided by "whitebell".
Diffstat (limited to 'net/p5-POE-Component-SNMP/distinfo')
0 files changed, 0 insertions, 0 deletions