Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Answer: how to invoke unix commands in perl

by arhuman (Vicar)
on Feb 08, 2001 at 20:10 UTC ( #57197=note: print w/replies, xml ) Need Help??

in reply to Re: how to invoke unix commands in perl
in thread how to invoke unix commands in perl

OOPS ! I can't modify it...

Please use your usual doc (Site Library, Camel book, perldoc) to understand the implication in term of process forking, shell spawning, security...
But most of all don't forget that spawning a shell is cpu/memory consumming and can often be avoided by few perl internal function...
(Especially in this case of a wc -l)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-11-19 18:11 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (282 votes). Check out past polls.