in reply to Perl As a NT4 Service

Why shell out for DOS sort when you have perl sort?

open F, 'in.txt' or die $!; my @sorted_lines = sort <F>; close F;

cheers

tachyon

Replies are listed 'Best First'.
Re: Re: Perl As a NT4 Service
by kitsonrp (Novice) on Jan 05, 2004 at 11:35 UTC
    Sorry the code was only a simple example of the problem. I need to redirect a command file for intogation of mqseries queues.

    ie "runmqsc < command.txt"

      I'm not sure if this will work, but try going to control panel->Services

      Highlight your service, and select Startup... and then enable "Allow service to interact with Desktop".


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "Think for yourself!" - Abigail
      Hooray!