in reply to Re: Net::OpenSSH capture and cmd w/args
in thread Net::OpenSSH capture and cmd w/args

$full_file probably contains a linefeed. Please chomp first...

Replies are listed 'Best First'.
Re^3: Net::OpenSSH capture and cmd w/args
by eonarts (Novice) on Aug 04, 2011 at 16:24 UTC

    ARG! really? really? I thought that was a silly reply - which probably meant it was the correct answer.

    ::hangs head in shame::

    THAT WAS THE ANSWER! thank you thank you thank you!

    my $full_file="${dir}/$file"; chomp($full_file);

    I need more sleep & coffee...