in reply to using Backtick inside perl gives different output

qx interpolates variables. try to escape $9:
my $offset = `cat offset.txt | awk '{print \$9}'`;

Replies are listed 'Best First'.
Re^2: using Backtick inside perl gives different output
by kaka_2 (Sexton) on Oct 08, 2013 at 17:09 UTC
    Thank you for pointing out to use \ before $.