Thanks!  It was a pebkac (problem exists between keyboard and chair).!  I
was quoting my regex's (ie. "/blah/" instead of /blah/.

Can I quit writing Perl now? ;-)

Greg B.

"Mark Probert" <probertm / NOSPAM_acm.org> wrote in message
news:Xns93126DB6C17FEprobertmNOSPAMacmorg / 47.129.29.57...
> Hi.
>
> "Brondo, Greg" <Greg.Brondo / allegiancetelecom.com> did say ...
>
> > Is it possible that in the ruby-installer version of ruby (1.7.3) that
> > Net::Telnet.waitfor is broke?  I cannot make it work to save my life.
> >
> It works for me on Win2k (ruby 1.7.3 (2002-11-17) [i386-mswin32]).
>
> Can you post your troublesome code?
>
> The way I use it is similar to:
>
>   conn = Net::Telnet.new('Host' => '192.168.0.1',
>                          'Timeout' => 60,
>                          'Port'=> 23)
>   conn.write("\n")
>   conn.waitfor("\<")
>
> Regards,
>
> --
> -mark.
>
> ----------------------------------------------------
> Mark Probert      probertm / NOSPAM_nortelnetworks.com
> Nortel Networks   ph.          (613) 768-1082
> ----------------------------------------------------
>
> All opinions expressed are my own and do not
> reflect in any way those of Nortel Networks.