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

Ok. I've got ActivePerl installed and working for client-side scripting. Woo-hoo! Now, I'm trying to make it dance.
  1. Where is the documentation (if any exists!) for client-side PerlScript specifically? There's like 20 lines total on ActivePerl's website. It all deals with Perl-for-ASP.
  2. Can I use modules as part of client-side PerlScript? If so, how? ('use' doesn't work ...)
  3. I have figured that I can use named pipes out to scripts. Is that what I would have to do to emulate CGI::Application?
  4. What am I not asking? I'm a Unix Perl developer. I've never done anything serious on Windows. What gimmes & gotchas are there?

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

Replies are listed 'Best First'.
Re: Client-side PerlScript
by Enlil (Parson) on Apr 11, 2004 at 19:40 UTC
    What am I not asking? I'm a Unix Perl developer. I've never done anything serious on Windows. What gimmes & gotchas are there?

    In the same location (on the left hand side table of contents) that gjb noted above (C:\Perl\html\index.html, actually this depends on where you installed Perl you but it would be under the path\to\Perl\html\index.html) there is a link to Windows Specific things. And one item in this list is Windows Quirks. But you will probably want to glance through all the links in this section and the Windows Scripting Section.

    -enlil

Re: Client-side PerlScript
by gjb (Vicar) on Apr 11, 2004 at 19:28 UTC

    1. There's at least 30 lines in the documentation that was installed on your computer, see C:\Perl\html\index.html under 'PerlScript' and 'PerlScript examples'. Documentation is limited I fear.
    2. I tried an example with use Data::Dumper; which worked well. I suppose @INC might be limited to the ActiveState directory though.
    I've no answer to your other questions though.

    'Hope this helps, -gjb-

Re: Client-side PerlScript
by tilly (Archbishop) on Apr 11, 2004 at 20:05 UTC
    What exactly do you mean by client-side PerlScript?

    Do you mean a clientside language in IE? (That's what I think of when I hear about PerlScript...) If so, then the biggest gotchas are IE specific and most copies of IE aren't configured to run it, so it is pretty useless. Besides, in the end it is just JavaScript in a different syntax.

    Do you mean as a programming language? It is Perl. Some of the interprocess communication stuff is messed up because of differences between Windows and Unix. There are Win32 modules that are convenient. I would need a more specific question to give a more specific answer.

Re: Client-side PerlScript
by Anonymous Monk on Apr 11, 2004 at 23:15 UTC

    The best I could find for a tutorial is a cpan page :)

Re: Client-side PerlScript
by jeffa (Bishop) on Apr 12, 2004 at 15:58 UTC

    I have figured that I can use named pipes out to scripts. Is that what I would have to do to emulate CGI::Application?

    If i were using Activestate, i would be more interested in coding Windows Services and GUI Desktop applcations than CGI applications. After all, you can still ssh in to your *NIX box for that.

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)