in reply to How to get a package by telnet

We can't help you unless you post code and what you are trying to do. Are you using Telnet in your program? What are you using LWP for? Are you trying to write a package called 'record' or are you trying to use it? So many questions.

Making some assumptions: If you're writing a package called record then you need to define a get() subroutine within that package. If you are going to use telnet inside your program then look into Net::Telnet.

Hope that helps

Chris

Lobster Aliens Are attacking the world!

Replies are listed 'Best First'.
Re: Re: How to get a package by telnet
by Anonymous Monk on Apr 28, 2003 at 14:15 UTC
    part of my code like:
    package record; use Class::Struct; struct( section1 => '@', section2 => '@', ); my $summer = new record; my @context1 = qw(sailing swimming); my @context2 = qw(science art); $summer->context1names($i++,$_) for @context1; $summer->context2names($j++,$_) for @context2; print Dumper(\$summer); print "@{$summer->context1names}";
    Please help!!! Thanks!!!