in reply to Why is my result empty?
You are coping with scoping. Inside your loop, try:
$final_res = $split_final[7];
In Section
Seekers of Perl Wisdom
in reply to Why is my result empty?
$final_res = $split_final[7];