Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: XLSX retriving if matches

by marinersk (Priest)
on Jun 17, 2017 at 02:52 UTC ( #1193002=note: print w/replies, xml ) Need Help??


in reply to XLSX retriving if matches

An old-school way to do it is to:

  1. Initialize an array at the start of each row;
  2. Initialize a processing flag to false at the start of each row;
  3. Push each cell into that array as it is processed during the inner loop;
  4. Set the processing flag to true when you have your $patternmatch;
  5. At the bottom of the row loop, after processing all the cells in that row, if the flag is set, the array contains the complete row so use it accordingly.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2022-09-27 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (118 votes). Check out past polls.

    Notices?