Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Hello im new to programming i need help

by 7stud (Deacon)
on Feb 10, 2013 at 01:40 UTC ( #1018010=note: print w/replies, xml ) Need Help??

in reply to Hello im new to programming i need help

Okay, the first thing you should do is construct a very small example. Your example should read two files only, and each file should only have two lines in it. Then you need to post those two files and try to describe what you are doing. For instance, "Given these two files, I want to produce this output....".

But really, when you are starting out programming, none of your programs should be longer than 10 lines of code until you learn the basics. Your code also needs to be readable, and yours isn't because sometimes you indent your code and other times you don't. In addition, perl indenting is 4 spaces, so you should configure your computer programming editor to indent 4 spaces. If you are not using a computer programming editor, that is your first mistake. There are many free computer programming editors which you can download, and they will automatically indent your code, and provide syntax highlighting, etc. which makes typing, editing, and debugging your code much easier.

This error:

Use of uninitialized value $xC1 in subtraction (-) at line + 80.
is pretty easy to understand. It is saying that you never assigned a value to $xC1.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018010]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2017-02-21 20:18 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (318 votes). Check out past polls.