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

Re^2: Calling system function in cgi

by esskar (Deacon)
on Dec 28, 2005 at 14:22 UTC ( #519557=note: print w/replies, xml ) Need Help??

in reply to Re: Calling system function in cgi
in thread Calling system function in cgi

instead of using the backtics, i prefer qx

Edit - after vek slapped me :-) Well, i prefer qx over backtics because it is more readable. my $result = `test.exe`; looks too similar to my $result = 'test.exe';. Using a qx instead signals that something special is happening here.

Replies are listed 'Best First'.
Re^3: Calling system function in cgi
by vek (Prior) on Dec 28, 2005 at 16:53 UTC

    While I'm sure you have your reasons for preferring qx/STRING/ over `STRING`, perhaps it would help the OP if you'd expand on your reply a little and explain why. What benefits would the OP get from using one over the other?

    -- vek --

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2022-12-08 23:21 GMT
Find Nodes?
    Voting Booth?

    No recent polls found