Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 taking refuge in the Monastery: (13)
As of 2014-12-22 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (132 votes), past polls