in reply to Remote Config::IniFiles
Using Net::SSH2, you can ->exec("cat '$remote_filename'") and then ->read remote files.
Using that, you can then read the file from the local string:
$cfg = Config::IniFiles->new( -file => \$ini_file_contents );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Remote Config::IniFiles
by jcagle (Acolyte) on Oct 08, 2018 at 22:18 UTC | |
|
Re^2: Remote Config::IniFiles
by jcagle (Acolyte) on Oct 05, 2018 at 17:23 UTC |