Subject:
|
Re: Help with RCX.pm
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Sat, 15 Apr 2000 07:36:16 GMT
|
Viewed:
|
1740 times
|
| |
| |
Todd Lehman <lehman@javanet.com> schrieb in im Newsbeitrag:
Ft0DL6.Apo@lugnet.com...
> 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
> >
> >
> >
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!
Clemens
|
|
Message is in Reply To:
| | Re: Help 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. (...) (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
|
|
|
|