WOW GREAT!!! :p
but seriously, thanks for taking the time. the example you given me makes clear sense and this is how i wanted to set it up to work intitially but didnt think it could be done lol, for some reason i had it in my head there was no way to match up the directory of the scanned $file after it had been compared, i dunno what i was thinking tbh <.<. but yoru example does help me understand better other ways to parse data. i cant wait to get done with my flash tool i am working on and see how good you all school me on that haha. will be quite interesting hehe.
oh also i wasnt asking for anyone to make my code shorter :) i was just wanting some examples of how any monk or any other person would have done it differently. and this being an example with actual data i am using, it makes it easier for me to understand any examples posted. i DID however know that when monks stared posting examples of how they would have done it, it would be alot shorter code than the script i posted :)
thanks for taking your time with me, it will pay off for me in the end.i am wanting to learn and am learning, and with a few helpful hands from yall, i will be flinging files and code everywhere muhahaha!!!
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.