An interface to z/VM's command processor (CP) is implemented as a device (/dev/cpcmd) I want to use perl to send commands and receive results.
I have never done I/O to device, so this is something new. I have a sample c program that does: fd = open(CPDEV, O_RDWR); if (fd >= 0) { rc = write(fd, command, strlen(command)); I would rather code in perl than c! I need to write to /dev/cpcmd and read back from it. Can someone start me up in the right direction? Do I use Fcntl? If so, I had difficulty following the example in "Perl Programming". Thanks __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 _______________________________________________ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm