Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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


Comment on Re: hash assignment
Select or Download Code
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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2015-12-01 06:09 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (794 votes), past polls