Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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 bashmonks.org somewhere.


Comment on Re: Running 2 scripts at once
Re^2: Running 2 scripts at once
by Dipseydoodle (Novice) 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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003958]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-08-21 04:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls