That was it!!
$| = 1;
OMG I cant believe it was so stupidly obvious!! Thanks's a bunch!! Ive posted this everywhere but Perl monks are the best :-)
In reply to Re^2: Nagios plugin gives “no output returned” using compiled perl
by aditya1977
in thread Nagios plugin gives “no output returned” using compiled perl
by aditya1977
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |