Hi all. I'm rewriting a bit of code namely ftp synchronizing tool very similar to http://www.linuxjournal.com/article/6686 and http://www.perlmonks.org/?node_id=84156

But I'm new to perl and well writing this taught me allot so far so I don't regret it. Especially thanks to perlmonks.org

I wrote mine to better integrate with iWeb. To do that it had to compare new and old files with and md5 sum because when you publish your files to a folder in iWeb it overwrites every file with a new one. But not every file changes.

so far it works pretty great. It does exactly what I need it to do.

But I kinda feel like making more improvements on it and familiarize myself more with perl. So if you have suggestions or comments please let me know. Also if someone just found it useful I'd like to know as well. Thanks!

It's not a huge script but it's multiple files so I put it on google code. here's the links. (I tried to make the code easy to read but if it's functions and stuff need explaining let me know)

http://perliwebftpuploader.googlecode.com/svn/trunk/
http://code.google.com/p/perliwebftpuploader/


In reply to Please Help me improve my code by russelj9

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.