Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: hash problem

by Anonymous Monk
on Jun 08, 2005 at 09:08 UTC ( #464602=note: print w/replies, xml ) Need Help??

in reply to Re: hash problem
in thread hash problem

it would appear that the number of lines in the hash is double of that in the gly file. $var1 = undef $war2 = 'h20' etc

Replies are listed 'Best First'.
Re^3: hash problem
by davidj (Priest) on Jun 08, 2005 at 09:11 UTC
    The hash has not doubled. Rather, $var1 = undef is the key to the first hash element, $var2 = 'h20' is the value of the first hash element, etc.

    The good news is, this verifies the problem. That is, your keys are empty. Please show us the content of the text file you are using. That will certainly help us help you resolve the problem.


      thanks for ur time people, i have corrected the fault cheers

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2020-10-29 22:53 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (274 votes). Check out past polls.