Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Running 2 scripts at once

by Anonymous Monk
on Nov 15, 2012 at 08:37 UTC ( [id://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.

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-26 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found