in reply to Re: Executing a program or series of programs in perl.
in thread Executing a program or series of programs in perl.

"I take it you'd like to send one command off to do its work while you start another one?" Kind of. I want to be able to choose a task, (theres going to be several.) and while it performs it (in unix its known as sending the command to "the background") i want to pick a task and have it run but while it does, i want my shell back. Your comment did help a lot. so ill just take it from there using your code as a reference, thanks a lot. When im done with this script ill be sure and post it for all my fellow Unix junkies out there.. =]
  • Comment on Re: Re: Executing a program or series of programs in perl.

Replies are listed 'Best First'.
Re: Re: Re: Executing a program or series of programs in perl.
by djantzen (Priest) on May 09, 2003 at 03:59 UTC

    Hmm, Perl might well be overkill in that case. Why not just use aliases in your normal shell or symlinks?


    "The dead do not recognize context" -- Kai, Lexx
      Your absolutely right it may be overkill, BUT. perl CAN do it, and will do it well, and to be honest i want to learn perl real bad and this is one of the few things i could think of making to get me started.
Re: Re: Re: Executing a program or series of programs in perl.
by mikey (Acolyte) on May 09, 2003 at 04:01 UTC
    code@labs ~>> perl thread.pl thread.pl line 3: This Perl hasn't been configured and built properly for the threads module to work. (The 'useithreads' configuration option hasn't been used.) Having threads support requires all of Perl and all of the XS modules in the Perl installation to be rebuilt, it is not just a question of adding the threads module. (In other words, threaded and non-threaded Perls are binary incompatible.) If you want to the use the threads module, please contact the people who built your Perl. Cannot continue, aborting. BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.0/mach/threads.pm line 28. Compilation failed in require at thread.pl line 3. BEGIN failed--compilation aborted at thread.pl line 3. code@labs ~>> Damn. I am the "people who built my perl." lol. looks like i have a job to do. Gotta get thread support built in.