Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Spreadsheet::XLSX Cell Access

by kcott (Archbishop)
on Sep 12, 2013 at 22:24 UTC ( [id://1053809]=note: print w/replies, xml ) Need Help??


in reply to Spreadsheet::XLSX Cell Access

Change "'$_35'" to "$_ . 35".

Also, I've got no idea what you're trying achieve with "$yield$_ = ...".

You should probably read perlintro before proceeding.

Here's a very rough guess at what you might need:

$ perl -Mstrict -Mwarnings -e ' my $sheet = {F35 => 1, G35 => 2, H35 => 3, I35 => 4, J35 => 5, K35 + => 6}; my @mycols = "F" .. "K"; my @cells; for (@mycols) { push @cells, $sheet->{$_ . 35}; } print "@cells\n"; ' 1 2 3 4 5 6

-- Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1053809]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-20 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found