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

Can I create a named pipe server on winXP? Here is the simple code I tried and the exception generated. Also, what is a .al file?
# Example 6.9. Creating a named pipe. # ---------------------------------------- # From "Win32 Perl Programming: The Standard Extensions Second Editio +n" by Dave Roth # Published by Macmillan Technical Publishing. # ISBN # 1-57870-216-X print "From the book 'Win32 Perl Programming: The Standard Extensions, + Second Edition'\nby Dave Roth\n\n"; use Win32::Pipe; $pipe = new Win32::Pipe( "My Test Pipe", 10000, PIPE_READMODE_MESSAGE | PIPE_TYPE_MESSAGE ) || die; print "waiting for a connection\n"; $pipe->connect; D:\perl\win32\Chapter06>example06_09.pl From the book 'Win32 Perl Programming: The Standard Extensions, Second + Edition' by Dave Roth waiting for a connection Can't locate auto/Win32/Pipe/connect.al in @INC (@INC contains: C:/Per +l/lib C:/P erl/site/lib .) at D:\perl\win32\Chapter06\Example06_09.pl line 14
The modules are installed in the @inc path. Perl version is Activestate 5.8.8. I also tried this on a win2000 server, with the same results. I know the docs said the winNT or 2000 are the only platforms supported for the server, but maybe that has changed. Thanks

Replies are listed 'Best First'.
Re: WIN32::Pipe on windows xp sp2
by BrowserUk (Patriarch) on Nov 22, 2006 at 18:18 UTC

    Try

    $pipe->Connect;

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
Re: WIN32::Pipe on windows xp sp2 (inheritance--)
by tye (Sage) on Nov 22, 2006 at 18:18 UTC
      Thanks, I don't know how I missed the lowercase c but...anyway it does work on winXP.
Re: WIN32::Pipe on windows xp sp2
by wjw (Priest) on Nov 23, 2006 at 06:02 UTC
    Regarding the question what is an .al file. I ran into these a couple of weeks ago too. All I could come up with was "activestate library". Any file extension experts that can verify?

    ...the majority is always wrong, and always the last to know about it...

      Follow the link in my other reply in this thread. ".al" stands for "AutoLoad" and is used by AutoLoader (and maybe other similar modules).

      Did you try super searching for ".al" ? super search has its problems, but I like that it has no problems searching for punctuation. Anyway, it finds some useless hits (people saying "...also," and such) but also some good hits.

      - tye