in reply to instantiating an SFTP object
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: instantiating an SFTP object
by Aldebaran (Curate) on Jun 10, 2017 at 06:54 UTC | |
Thanks for the suggestion. This module seems to have a lot of functionality, so I definitely thought the try worth the effort. I'm calling it differently now and get a different error:
I seem to have gotten farther but don't understand why I didn't die here, as execution goes back to main. (?) | [reply] [d/l] [select] |
by salva (Canon) on Jun 10, 2017 at 10:55 UTC | |
Alternatively, you can activate the autodie mode. It makes the object die, when some error happens:
| [reply] [d/l] [select] |
by Aldebaran (Curate) on Jun 13, 2017 at 02:06 UTC | |
I finally got my little template working with this module. I found all the discussion and example code necessary, including cpan paragraph I'm trying to use github to post bulky modules. author's github repo is the greater context in which this works:
Abridged output from stdout:
The page, populated by mundane matters, accomplishes its humble task: page posted (no porn). How to dereference a reference to an array of hashrefs is something that runrig posted on 2013 node, to wit:
To shoehorn this into an array of filenames, I turned this into: my @remote_files = map { $_->{filename} } @$ls;and I was back in business. Thanks all for comments and code. | [reply] [d/l] [select] |