Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by AnomalousMonk (Abbot)
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!)


Comment on Re^3: output of one program doesn't show in another on server
Select or Download Code
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-09-17 16:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (91 votes), past polls