Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: hash assignment

by Ratazong (Prior)
on Jul 25, 2012 at 07:43 UTC ( #983574=note: print w/ replies, xml ) Need Help??


in reply to hash assignment

print "$i:$config{i}\n";
You are missing a $ before the second i

Rata


Comment on Re: hash assignment
Select or Download Code
Re^2: hash assignment
by rohit_raghu (Acolyte) on Jul 25, 2012 at 07:46 UTC
    Oops. I apologize for the waste of your time.
    Rohit Raghunathan
      Not a "waste" but an opportunity to learn:
      1. use warnings; as well as strict;
      2. Check compilation before throwing up your hands in dismay. That is, at your command prompt, execute perl -c filename

      The two, together, will reveal problems such as this.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-09-24 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (244 votes), past polls