Skip Menu |
 

This queue is for tickets about the Net-Google-Spreadsheets CPAN distribution.

Report information
The Basics
Id: 93637
Status: new
Priority: 0/
Queue: Net-Google-Spreadsheets

People
Owner: Nobody in particular
Requestors: aveckey [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.1501
Fixed in: (no value)



Subject: Please remove the caveat for rows() to lowercase the keys and remove non-alphanumerics and periods
Download (untitled) / with headers
text/plain 629b
The rows() and row() functions return Net::Google::Spreadsheets::Row objects in which the content() function returns a hash reference. It would be nice if said hash reference would have the keys that accurately correspond to the headers of the worksheet. The documentation states that the records() function from table() handles this, why not row()? Also, it would be great to have a headers() function to return a list of the headers. If you want to keep the functionality as is, you could go roundabout and provide a converter that will convert the actual header name to the key name in the hash reference (and vice-versa).


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.