Hi, I have been trying to run a piece of perl code in NT that I usually run in UNIX. I am showing the part of code where I am facing the problem. ---------------------------------------------------------------------------- ---- open (CPP, "$cmd |"); while (<CPP>) { chomp(); # Remove CR's from the input s/\r//g; ---------------------------------------------------------------------------- ----
when the code attempts to go in the while loop it throws off an error: Too many files specified It exits the program after this. I am running this piece of script in cygwin window. Can anyone point as to why this problem seem to be coming. K.srinivas _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]