Seems whenever I issue a command to Net::Telnet, I get a left-paren '(' in
the result set.  Consider the following from a debug session:

<---------------------------------------->
...
print "Executing 'date'\n";
@result = $t->cmd("date");
foreach (@result) {
   print;
}
$t->close && print "Connection closed\n";
<---------------------------------------->

Yields:
Executing 'date'
Fri Mar 21 08:38:40 PST 2003
(Connection closed

In a debug session:

  DB<2> r
Login successful
Executing 'date'
Fri Mar 21 08:40:18 PST 2003
main::(x:21):   foreach (@result) {
  DB<2> x @result
0  'Fri Mar 21 08:40:18 PST 2003
'
1  '('
  DB<3> r
(main::(x:21):  foreach (@result) {
  DB<3> c
Connection closed


So..........  what's with the '(' in $result[1] ???  I know I can filter this
out ... but WHY is this happening?  (happens with EVERY command I send to
Net::Telnet)


Thanks,

Jeff

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to