in reply to Re: Problem when comparing strings as opposed to numerical values
in thread Problem when comparing strings as opposed to numerical values
I tried it with the quotes but theres no output to the file.
I also tried:
(eval /$hash{/$filter[1]->[0]} $filter[1]->[1] $filter[1]->[2])
that didnt work either. It only works when I manually type in 'eq' - Example:
(eval $hash{$filter[1]->[0]} eq $filter[1]->[2])
But my whole point is to use the reference to the array to pull the variable out which should be 'eq' in this case. I am stumped. Any ideas on what to do?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Problem when comparing strings as opposed to numerical values
by aitap (Curate) on Jul 20, 2012 at 08:06 UTC |