Hi all 

I am able to execute the below program in perl but NOT in mod_perl

$pid = open2(*Reader,*Writer,$test_cmd);
Writer->autoflush();
Reader->autoflush();


print Writer "mypwd\n";
while (<Reader>) {
$output .= $_;
}


In mod perl , whatever I write to Writer using "print Writer " does not
get reached to my program defined in $test_cmd. This works perfectly
fine with only perl but not with mod perl,what might be the reason and
any workaround 

Any help would be greatly appreciated 

Thanks
Sajid




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

Reply via email to