HP OpenVMS Systems

ask the wizard
Content starts here

Perl object method error?

» close window

The Question is:

 
I have been running a Perl script on an NT machine successfully for about 9
 months.  I have recently brought the script over to an Alpha server running
 OpenVMS 7.2
 
I have all the correct perl modules (pm files) on the system and the script
 does run but it gets an error about half way through.
 
The error is:
 
Can't locate object method "new" via package "Request" at
 /perl_root/lib/Request.pm line 58
 
Line 58 of Request.pm reads:
 
my $self = $class->SUPER::new ($header, $content);
 
 
I am by no means an experienced Perl programmer.   From my research so far,
I can gather that SUPER is some class that all Perl scripts use?  maybe?  What I
find strange is, there are NO files on the current NT machine running our Perl
scripts by the name of SUPER or new. Are they defined in a module some where?
 
If you could help I would greatly appreciate it.
 
Thanks,
 
Tony Schroeder
 
 
 


The Answer is :

 
  Please see the Perl-related information and particularly the Perl
  mailing list information in the OpenVMS FAQ -- you will reach an
  audience quite familiar with Perl on OpenVMS via the email list.
 

answer written or last revised on ( 12-JUL-2000 )

» close window