Ok, I've binmode'd STDOUT and now I've added an error picture, and there is no error picture and the message does not pop up in the error.log. However, another message pops up:
Insecure dependency in piped open while running with -T switch at...
And guess what! After removing the -T, it actually works! Why is this, and can I solve this keeping the "taint checking", or do I really need it in the first place? (I've always just used it, to be honest.)
Main Topics
Browse All Topics





by: Adam314Posted on 2009-05-28 at 10:54:10ID: 24495940
You don't print any message if there is an error with the open command, you just exit silently. You could sent something to your error log, or you could display a default image.
You should also binmode STDOUT, but that should be the same with your default or not.
Try one of these:
Select allOpen in new window