The Perlmonks are always here to help. When you do post your work, please:
Note that it is homework. Most monks will tailor their responses to point you in the right direction without giving you the answer directly.
Post enough code, but not too much. We can't help if we can't see the code, but nobody wants to read thousands of lines of garbage.
Post the exact problem you're trying to solve. Often students paraphrase problems and end up leaving out crucial information.
Consider telling your professor that you got help on the internet. If you don't you run the risk of being found out later and possibly facing negative repercussions. Many good professors will be fine with people getting advice on homework as long as they're doing the work.