Forgive me, but I know nothing about Perl other than listening to programmers at previous place of employment rave about what they could accomplish with Perl.
Would anyone be able to point me in the right direction and possibly recommend some books that would help me?
I have this project that needs to be completed in the next week or two (that reoccurs annually) that requires me to build a directory structure for our data. It seems like it should be so easy to put something like this together but I have no clue where to start.
An example of the directory structure is:
2005\0_09
2005\10_19
2005\20_29\20\
2005\20_29\21\
2005\20_29\22\addendums
2005\20_29\22\current
2005\20_29\22\archive
So each of the 2005 clients, in this case client 22 in range 20 through 29, requires 3 directories (addendums, current and archive). But we have 10,000 clients and each requires us to organize and build subdirectories from a predetermined client list that changes annually.
Is there a way I can supply the client list in one file, the sub directory names in another, and run the script to create the directories on the server?
Any help or direction would be greatly appreciated.
Thank you in advance.
Dana
Retitled by davido.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.