http://qs1969.pair.com?node_id=519557


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 --