Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: system call vs. back quotes

by ton (Friar)
on Jan 25, 2002 at 05:34 UTC ( [id://141399]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: system call vs. back quotes
in thread system call vs. back quotes

The Perl Cookbook claims (in the Discussion 16.1) that there is overhead associated with the backticks that does not exist with the system call. I imagine perl does the openpipe/fork combination to get the STDOUT from the backticks; if you don't need the output (as in the tar example above), it is thus more efficient to use system.

-Ton
-----
Be bloody, bold, and resolute; laugh to scorn
The power of man...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found