No such thing as a small change | |
PerlMonks |
Re^2: Escaping special characters in filename for Net::SCPby blazar (Canon) |
on Mar 29, 2005 at 09:20 UTC ( [id://443075]=note: print w/replies, xml ) | Need Help?? |
$scp->put(quotemeta) yields:
Couldn't transfer `/real/file->name': \/real\/file\-\>name: No such file or directory$scp->put(qq|'$_'|) yields: Couldn't transfer `/real/file->name': bash: -c: line 1: unexpected EOF while looking for matching `'' bash: -c: line 2: syntax error: unexpected end of file lost connectionD'Oh!
In Section
Seekers of Perl Wisdom
|
|