You are right.. the Global code was correct..
it's working
Input: <%get_key_values($rand1,$City,$State)%>
Output: Dallas personal injury lawyers
It took the Dumper code trick of yours to make me realize that I was doing multiple tests & in the flow of thoughts edited only one instance, while was checking the other instance.
btw: Output for dumper code
P.S. I suppose, now it is alright to remove 'use Data::Dumper; print $IN->header; print Dumper(@_);' ?
Thanks for helping me get this done :)
Vishal
-------------------------------------------------------
it's working
Input: <%get_key_values($rand1,$City,$State)%>
Output: Dallas personal injury lawyers
It took the Dumper code trick of yours to make me realize that I was doing multiple tests & in the flow of thoughts edited only one instance, while was checking the other instance.
btw: Output for dumper code
Code:
$VAR1 = 'b'; $VAR1 = 'a'; $VAR1 = 'b'; $VAR1 = 'u'; $VAR1 = 'd'; $VAR1 = 'w'; $VAR1 = 'k'; $VAR1 = 'h'; $VAR1 = 'g'; $VAR1 = 'b'; $VAR1 = 'i'; $VAR1 = 'p'; $VAR1 = 'k'; $VAR1 = 'w'; $VAR1 = 'c'; $VAR1 = 'b'; $VAR1 = 'b'; $VAR2 = 'Dallas'; $VAR3 = 'Texas'; P.S. I suppose, now it is alright to remove 'use Data::Dumper; print $IN->header; print Dumper(@_);' ?
Thanks for helping me get this done :)
Vishal
-------------------------------------------------------