Subject:
|
Re: Help with RCX.pm
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Fri, 14 Apr 2000 13:31:54 GMT
|
Viewed:
|
1735 times
|
| |
| |
In lugnet.robotics.rcx, Clemens Dorner writes:
> i used the following:
>
> use RCX;
> $rcx = new RCX();
>
> as described in the doc-file that comes with RCX.pm.
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. So, in other words, what happens when you try this instead?:
use LEGO::RCX;
$rcx = new LEGO::RCX();
--Todd
>
>
>
|
|
Message has 1 Reply: | | Re: Help with RCX.pm
|
| 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)
|
Message is in Reply To:
| | Re: Help with RCX.pm
|
| "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)
|
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|