http://www.perlmonks.org?node_id=1079023


in reply to Why is my result empty?

You are coping with scoping. Inside your loop, try:
$final_res = $split_final[7];

Replies are listed 'Best First'.
Re^2: Why is my result empty?
by Anonymous Monk on Mar 20, 2014 at 00:16 UTC
    Damn! Silly mistake :)
    Thank you!