Problems installing/using Modem::Vgetty Perl module

"Mark A. Haun" (haunma@angwin.ece.uiuc.edu)
Fri, 19 Feb 1999 16:54:41 -0600


Hi,

Although I do some programming in Perl, my knowledge of modules and Perl
internals is limited, so I'm at a loss how to resolve these error messages
I'm getting from any script using Modem::Vgetty:

Use of uninitialized value at /usr/lib/perl5/i386-linux/5.00401/IO/Handle.pm
line 317.
Use of uninitialized value at /usr/lib/perl5/i386-linux/5.00401/IO/Handle.pm
line 322.
Can't call method "enable_events" without a package or object reference at
/usr/local/bin/aurora_notify line 15.

My script looks like this:

   use Modem::Vgetty;

   my $v = new Modem::Vgetty;

   die "Usage: aurora_notify rmdfile" if $#ARGV != 0;
   open(LIST, "/home/haunma/public_html/aurora/phonelist") || die "Can't open
   list of phone numbers\n";

   $v->enable_events;

[ etc... script does not get past this point ]

The installation was rather strange, also.  For some reason it was trying to
install by default in a directory tree /var/tmp/perl-root/usr/lib/perl5/ ...
I finally changed that to /usr/lib/perl5/ but still have doubts as to what
the install script was trying to do.

Mark Haun
markhaun@uiuc.edu