[RndTbl] (Simple?) Perl question

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


I should add that this gets run immediately after via

my $output = `$cmd`

if that makes any difference.

On Mon, Dec 12, 2016 at 1:40 PM, Kevin McGregor <kevin.a.mcgregor at gmail.com>
wrote:

> 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/3f92eeaa/attachment.html>


More information about the Roundtable mailing list