in reply to Re: Escaping special characters in filename for Net::SCP
in thread Escaping special characters in filename for Net::SCP

The funny thing is I do know full well about quotemeta. For some reason it must have seemed better to me to roll my own s/// instead. Anyway "it doesn't work", for the following acceptation of "doesn't work": "No such file".

OTOH if I do not quote, perl doesn't complain but I get only an empty file on the server, named after what follows '>' in the original filename.