Here's the best piece of advice that I can give:

Fulfill Each Requirement Separately

Try and break down the program into different tasks and write a mini-script to achieve each task. Once they're all working, write a bigger script that does all the stuff you want. As you're working on the mini-scripts, you'll realise that something you thought was one task is actually several, so break that into more mini-scripts.

Then, when you get confused, you can come to us with the mini-script instead of the big script, which makes it easier for us and more comprehensible for you.

If I was working on solving your problem, I'd probably think..

  1. read the file and print each line
  2. write a script that can understand a line like Allowed  OURDOMAIN\1500Jennilsa Modify This Folder, Sub
  3. write a script that takes the values from the script above and prints the correct HTML
  4. do the above two steps for lines like Directory: G:\1500Jennilsa and Startup directory: and so on.
  5. Somehow your script has to know that Allowed  BUILTIN\Administrators  Full Control  This Folder Only is a property of File: G:\xcacls.txt. Write a script that shows how you handle that.

Breaking it up like this also makes it easier to know where to start by making basically everything a valid starting point.

Good luck!
--Pileofrogs


In reply to Re: PERL newbie Cant figure out where to start by pileofrogs
in thread PERL newbie Cant figure out where to start by jwashburn

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.