in reply to Need to compare 2 hash values

The bits you have commented out may be more important than many of the bits you left in. Most important (as already mentioned) is that you have commented out the 'use strict;' line. Why?

#my file_ref = (); is an interesting commented line because it doesn't compile uncommented. However later in the code file_ref is used as a hash, although the name suggests a reference to something. Later #my %file_ref; occurs which looks like it's related and compiles correctly uncommented - why is it commented out? Uncommenting the %file_ref declaration fixes the compile error that the use strict line was probably commented out for.

The code you present is not novice code. On the other hand there are large swathes of code missing. Where did the original code come from and how did it get into its current state?

What are the explicit problems that you are having?


True laziness is hard work
  • Comment on Re: Need to search through a hashref array to find empty, null, or otherwise translucent key values.
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: Need to search through a hashref array to find empty, null, or otherwise translucent key values.
by carlo1973 (Initiate) on May 27, 2009 at 18:20 UTC
    Sorry for the confusion of the coments in my code. What I was doing was researching things on the net - trying my best to solve the issue myself before bothering anyone. What I would would be, if I found something that worked "sort-of" then I would leave it in the code but coment it out, till I found something that performed better. This way I wouldn't loose anything and I could go back and fix things. It was for my own reference as to what I've changed. Unfortunatly no one else can read my train of thought lol I should have removed those lines before posting them ^^