perlprint has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: wrong with code??
by Utilitarian (Vicar) on Aug 19, 2009 at 12:18 UTC
    Hi perlprint,

    Please use  <code> </code> tags around your code, <p></p> Paragraph tags around your paragraphs and have a look at How To Ask A Question (Simple English) (RFC)

    I'm not sure you need a named pipe in this instance, you aren't forking and don't seem to be going to a different host.

    a simple

    print `cmd.exe /c $loc_deploy`;
    Will achieve what you want,` is a backtick which executes the quoted command in the shell and returns the output of the command.

    The \\\\server\\pipe\\My Named Pipe incantation must be adjusted to point at the pipe you have created, eg.

    \\\\.\\pipe\\pipe1