http://www.perlmonks.org?node_id=1003958


in reply to Running 2 scripts at once

You seem to be trying to write a Bash script in Perl. You should at least be aware of what happens with system() and what are the rules about subshells.

But anyway, why don't you write it in Bash instead? It should be less typing. Not sure if there's a bashmonks.org somewhere.

Replies are listed 'Best First'.
Re^2: Running 2 scripts at once
by Dipseydoodle (Acolyte) on Nov 15, 2012 at 17:15 UTC

    Actually, funny you say that!

    The original BBS was written in bash originally! however I had to use cd alot and that got really annoying having to figure where to CD everything too! lol

    I guess I'l give bash another shot.

      You can do pretty large systems in Bash, but Perl is much more powerful, saner, safer, and lighter than any shell language once you've learnt how to use it. I will continue to recommend you stick to Bash or maybe Zsh (somewhat more on the sane side than Bash) until you learn Perl enough to not shell out for every small task.