Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: hash assignment

by Ratazong (Monsignor)
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

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2017-07-22 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (337 votes). Check out past polls.