in reply to Re: Windoze:SFtp into a scalar
in thread Windoze:SFtp into a scalar

Net::SFTP::Foreign already provides a get_content method:
my $content = $sftp->get_content($file) // die "unable to retrieve file $file: " . $sftp->error;

Replies are listed 'Best First'.
Re^3: Windoze:SFtp into a scalar
by syphilis (Archbishop) on Dec 03, 2010 at 11:38 UTC
    Net::SFTP::Foreign already provides a get_content method

    I s'pose I could always claim that's what I meant by "something similar" ... though it would, in fact, be more appropriately described as "something better" ;-)

    Cheers,
    Rob