To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 554
553  |  555
Subject: 
Help with RCX.pm
Newsgroups: 
lugnet.robotics.rcx
Date: 
Wed, 12 Apr 2000 08:55:57 GMT
Viewed: 
1670 times
  
when using the rcx.pm i only recieved the following error:
"can't find method new in module rcx"

it seems to me that perl finds the LEGO::RCX module but not its method
"new".
what am i missing?

thanks for any suggestions!



Message has 2 Replies:
  Re: Help with RCX.pm
 
(...) Clemens, What are you using to invoke the new() constructor? Are you using LEGO::RCX->new(...) or LEGO::RCX->new("LEGO::RCX", ...) or new LEGO::RCX(...) or something else? --Todd (25 years ago, 13-Apr-00, to lugnet.robotics.rcx)
  Re: Help with RCX.pm
 
Clemens, The problem is that the documentation has a slight typo. Insted of $rcx = new RCX() try $rcx = new LEGO::RCX(). Sorry for any problems this may have caused you. John C. Quillan (...) (25 years ago, 16-Apr-00, to lugnet.robotics.rcx)  

6 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR