Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Creating a Hash Syntax Error

by Laurent_R (Canon)
on Jul 27, 2014 at 14:29 UTC ( [id://1095237]=note: print w/replies, xml ) Need Help??


in reply to Creating a Hash Syntax Error

You've been given the right answer to your problem, but I would suggest that you learn to indent your code correctly. Although wrong indentation does not prevent your code from running, right indentation is absolutely essential to programming correctly. An additional recommendation would be to use:
use strict; use warnings;
for any program having more than one line. These two bits of advice will save you hours of debugging time if you follow them.

Please don't hesitate to ask if you don't understand what I am talking about or why I am saying such things.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1095237]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found