Comm.pl problem 
Author Message
 Comm.pl problem

       I am trying to use the Comm.pl from CPAN.  I put the
require 'Comm.pl'; line in my code, but when I try to access one of it's
functions (specifically open_proc), it says :

Undefined subroutine &main::open_proc called at ./testio2.pl line 4.

Here is my code:
#!/usr/local/perl5/bin/perl
require '/home/html/shamrm/public_html/PerlLib/Comm.pl';

$ph = open_proc('cat -n');
for (1..10) {
        print $ph "a line=n";
        print "got back ", scalar <$ph>;

Quote:
}

exit();

        Can anybody tell me why I am getting this error and what I can do
to fix this problem?  Thanks.

Greg Harfst



Fri, 14 Jan 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. /dev/ptmx and Comm.pl problem

2. Problems with Comm.pl on OSF1

3. Problem with comm.pl module on BSDI BSD/OS 2.1

4. problem with Comm.pl on SunOS

5. Problems with Comm.pl on RH5.2

6. Problems with Comm.pl on RH5.2

7. Comm.pl-1.8 library problems

8. Comm.pl 1.8 Problems

9. Problems with Comm.pl on OSF1

10. Problem with comm.pl module on BSDI BSD/OS 2.1

11. Problem using Comm.pl and Tk

12. ANNOUNCE: Comm.pl, a new expect/chat2.pl pkg, Beta1

 

 
Powered by phpBB® Forum Software