in reply to Specifying identify file with Net::SCP

Perusing the source, it looks like the command to be executed can be modified:

use Net::SCP; $Net::SCP::scp = "scp -i $identity_file"; $scp = Net::SCP->new( "hostname", "username" );

Ultimately, the flag handling should be rewritten in the module to allow full functionality ...


The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon