Text::CSV is my first foray into modules, and data manipulation using them.

Thank you for the example of building dynamic arrays! With the example seen in the code, you can tell I'm trying to learn how to work through them, but in seeing your code, it's obvious I am stuck in the "old ways".

So I'll have to figure out how to parse through this, and take values from one array and append it to values seen in another array - maintaining comma separation properly, and then delete the arrays I pulled the info from, and having condensed files when I try to dump the condensed data back into CSV files for the customers. I'm going through an entire fileserver to extract these values, and the files are absolutely HUGE, so compacting them down is imperative. (The software dumping these CSV reports is only looking for files with sensitive data in it, and we're looking at who has access to those files.)

I played a little with excel and pivot tables, but I can't get the concatenation of accounts into a single field, just a list of accounts under each filename and permissions group, and the length is still very long. Some of these files have 12-13+ lines apiece (permutations of access rights and usernames for each file), and I'm hoping to condense them to perhaps 3 lines each.

The removal of use Strict and use Warnings is because I don't want it barking at me when not using "my" for variables, because "my variables" don't show up in the interactive perl debugger. (unless I don't know how to use it - I've already been bitten by "error notices" BECAUSE I'm in debug mode.)

Thank you for your example there!


In reply to Re^2: Building a dynamic array or some other method? by CAdood
in thread Building a dynamic array or some other method? by CAdood

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.