in reply to How to get a package by telnet

I assume that by "working by telnet", you mean you're logging into a system via telnet and writing code from there. If that is the case, there is nothing special you have to do to the code. Logging in from telnet and writing code is no different from logging onto a local system and writing code.

I suspect your problem is elsewhere. For one thing, packages with all lowercase names are reserved for pragmas. A quick scan through the Camel didn't show me any existing pragmas named "record" (but perhaps this has changed since it was written?), so the code you have should still work. Even so, you should consider changing it to "My::Record" or something similar. The "My::" namespace is for packages that are never intended to be distributed outside your orginization.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated