AllPaoTeam has asked for the wisdom of the Perl Monks concerning the following question:
Good morning Perl Monks, Could someone tell me how to retrieve the name of the spreadsheets, it looks like its stored as a hash array. Below is the code and what I tried to do it but it is not returning what I was hoping for:
use Net::Google::Spreadsheets; my $service = Net::Google::Spreadsheets->new( username => 'pass@gmail.com', password => 'pass' ); my @spreadsheets = $service->spreadsheets(); print "@spreadsheets\n"; my $array_ref = \@spreadsheets; print "$$array_ref[0]\n"; Here is output: Net::Google::Spreadsheets::Spreadsheet=HASH(0x4c1a068) + Net::Google::Spreadsheets::Spreadsheet=HASH(034cxh064)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Return spreadsheet names from google
by CountZero (Bishop) on Aug 27, 2014 at 19:23 UTC | |
|
Re: Return spreadsheet names from google
by GotToBTru (Prior) on Aug 27, 2014 at 19:31 UTC | |
|
Re: Return spreadsheet names from google
by Anonymous Monk on Aug 27, 2014 at 19:25 UTC |