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

Re^5: neglect warnings in open 3 HANDLE_OUT

by kennethk (Abbot)
on May 14, 2013 at 14:23 UTC ( [id://1033481]=note: print w/replies, xml ) Need Help??


in reply to Re^4: neglect warnings in open 3 HANDLE_OUT
in thread neglect warnings in open 3 HANDLE_OUT

I love me some Perl, don't get me wrong; but why would you wrap Java in Perl and then in Java again? Why are you invoking 3 different technologies (there's some shell in there) when 1 will do? If the inner Java requires an external call, why aren't you invoking it from Java?

If you are debugging a complex system, the easiest approach is to systematically debug sub systems. It sounds like your inner Java is outputting incorrectly. That means you should be debugging your Java or call-parameters, not hiding the problem in Perl.

If you do want to just ignore the issue with Perl, then see if invoking the Perl on the command line yields the expected output. If it does, then you are invoking Perl incorrectly in your Java; if it doesn't, then modify your Perl, perhaps as I've suggested above. I can't be more specific without seeing the actual code you are using at these interfaces.


#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

  • Comment on Re^5: neglect warnings in open 3 HANDLE_OUT

Replies are listed 'Best First'.
Re^6: neglect warnings in open 3 HANDLE_OUT
by roboticus (Chancellor) on May 14, 2013 at 16:09 UTC
    $parent->upvote() for 1 .. 100;

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found