| | Help with RCX.pm Clemens Dorner
|
| | 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! (25 years ago, 12-Apr-00, to lugnet.robotics.rcx)
|
| | |
| | | | Re: Help with RCX.pm Todd Lehman
|
| | | | (...) 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 Dorner
|
| | | | | "Todd Lehman" <lehman@javanet.com> schrieb im Newsbeitrag news:FsyM2E.KoA@lugnet.com... (...) i used the following: use RCX; $rcx = new RCX(); as described in the doc-file that comes with RCX.pm. thanks, Clemens (25 years ago, 14-Apr-00, to lugnet.robotics.rcx)
|
| | | | | |
| | | | | | | Re: Help with RCX.pm Todd Lehman
|
| | | | | (...) Aha! OK, sounds like the docs are out of sync with the code. IIRC, John renamed the module from RCX to LEGO::RCX a while back, which means that the new() constructor is actually now in the LEGO::RCX package and no longer in the RCX package. (...) (25 years ago, 14-Apr-00, to lugnet.robotics.rcx)
|
| | | | | |
| | | | | | | Re: Help with RCX.pm Clemens Dorner
|
| | | | | Todd Lehman <lehman@javanet.com> schrieb in im Newsbeitrag: Ft0DL6.Apo@lugnet.com... (...) the (...) in (...) instead?: (...) i copied the rcx.pm into a folder named rcx instead of naming it lego! now it works with LEGO::RCX. thanks for help, Todd! (...) (25 years ago, 15-Apr-00, to lugnet.robotics.rcx)
|
| | | | | |
| | | | Re: Help with RCX.pm John C. Quillan
|
| | | | 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)
|
| | | | |