The issue is the 00 script run, $actualquote never gets assigned the value i would expect, it remains assigned to 0.
can anyone suggest what the issue is?
Add this to your code
...
chomp;
warn "
\$_ ($_)
";
...
warn "
\$quote ($quote)
\$linetime ($linetime)
\$comment ($comment)
";