On Thursday, May 23, 2002, at 01:01 , Felix Geerinckx wrote:
> on Thu, 23 May 2002 19:51:07 GMT, Drieux wrote:
>
>> the trick of course is that to an arbitrary port you may
>> really want to be at the
>
> You can specify a port number in Net::Telnet->new(...)
oh heavens yes... but that would be
on Thu, 23 May 2002 19:51:07 GMT, Drieux wrote:
> the trick of course is that to an arbitrary port you may
> really want to be at the
You can specify a port number in Net::Telnet->new(...)
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Jason -
You might want to grab Net::Telnet from CPAN.
This snippet is from the documentation:
use Net::Telnet ();
$t = new Net::Telnet (Timeout => 10,
Prompt => '/bash\$ $/');
$t->open("sparky");
$t->login($username, $passwd);
@lines = $t->cmd("/usr/bin/who");
print @lines;
on Thu, 23 May 2002 19:37:47 GMT, Jason Frisvold wrote:
> I need to write a program that telnets to a specific port and logs all
> the output to a file. Is there an easy way to do this in perl? I tried
> this via the command line (telnet 1.2.3.4 23 > my.log &) but it
> apparently buffers every
On Thursday, May 23, 2002, at 12:37 , Jason Frisvold wrote:
> I need to write a program that telnets to a specific port and logs all
> the output to a file. Is there an easy way to do this in perl? I tried
> this via the command line (telnet 1.2.3.4 23 > my.log &) but it
> apparently buffers