Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-16 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found