Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: output of one program doesn't show in another on server

by AnomalousMonk (Canon)
on Dec 18, 2012 at 17:38 UTC ( #1009436=note: print w/replies, xml ) Need Help??


in reply to Re^2: output of one program doesn't show in another on server
in thread output of one program doesn't show in another on server

 qx// `` (backticks) is double-quotish-interpolating, so  \usr\bin\perl is really:

>perl -wMstrict -le "print qq{'\usr\bin\perl'}; " Unrecognized escape \p passed through at -e line 1. 'Sinperl'

(Were you using warn-ings?)

Update: Oops... Fixed example code to include initial backslash. (And always, always avoid Sinperl!)

Replies are listed 'Best First'.
Re^4: output of one program doesn't show in another on server
by gideondsouza (Pilgrim) on Dec 19, 2012 at 06:36 UTC
    Thanks very much for your reply. Forgive me but I don't fully understand your answer though. Should I trying using qx instead of backticks?
Re^4: output of one program doesn't show in another on server
by gideondsouza (Pilgrim) on Dec 19, 2012 at 14:18 UTC
    Hey thanks so much. It works in the end. I updated the original post (top post) with my findings. Thanks so much.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009436]
help
Chatterbox?
[erix]: you could say you were part of the simulation
[stevieb]: I'd take full responsibility myself... "man, I was so hung over I could barely read what the email said!"
[zarath]: "Smee, the boo-box..."

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2017-05-24 13:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?