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

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

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2017-11-22 04:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (315 votes). Check out past polls.

    Notices?