[RndTbl] (Simple?) Perl question

Kevin McGregor kevin.a.mcgregor at gmail.com
Mon Dec 12 13:40:25 CST 2016


I'm trying to decipher some Perl code which runs on a Windows server, and I
ran into this:

$cmd =  "./psexec.exe \\\\\\\\" . $server_name

I think the idea is to end up with

./psexec.exe \\server

but WTF eight backslashes? Does that make any sense? If so, can someone
ELI5?

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://muug.ca/pipermail/roundtable/attachments/20161212/3aff99cc/attachment.html>


More information about the Roundtable mailing list