perl script output cannot pipe to file
I have a strange problem. My perl script produces the output when I run from the command line but when I pipe it to a file, it just hangs. ie. no output to the file at all.
Additional info: There is one subroutine which does an ldap lookup, then passes the result via a 'return', then I 'print' the variable. This is all done in a while loop processing a list from a file.
Thanks & Regards,
Last edited by hattori.hanzo; 12-14-2010 at 12:31 AM.