Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Why is IPC::Open2 behaving differently in a .pm? (wrong)

by tye (Sage)
on Aug 17, 2015 at 14:35 UTC ( [id://1138890]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Why is IPC::Open2 behaving differently in a .pm?
in thread Why is IPC::Open2 behaving differently in a .pm?

Because that isn't the actual source of the difference. You have just convinced yourself that it is. And then you posted code but removed the parts that you don't think are the cause of the difference and people have shown that this incomplete code (when made to actually work) doesn't demonstrate that difference.

The problem is in the parts that you didn't post.

- tye        

  • Comment on Re^3: Why is IPC::Open2 behaving differently in a .pm? (wrong)

Replies are listed 'Best First'.
Re^4: Why is IPC::Open2 behaving differently in a .pm? (wrong)
by sendu (Initiate) on Aug 17, 2015 at 15:40 UTC
    Yes, you're quite right. The problem was my json contained single quotes. If I removed them it works the same in both.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-25 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found