Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Running 2 scripts at once

by Anonymous Monk
on Nov 15, 2012 at 08:37 UTC ( #1003958=note: print w/replies, xml ) Need Help??

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 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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003958]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2018-06-22 14:26 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (124 votes). Check out past polls.