Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Perl's Telnet vs. Expect Moduleby gnork (Scribe) |
on Dec 03, 2003 at 11:55 UTC ( [id://311878]=note: print w/replies, xml ) | Need Help?? |
I would take a closer look at Expect.pm. I use it frequently and it saves you a lot of time not fiddling around with Net::Telnet. Additionally, Expect.pm has a lot more functionality you will find very usefull.
cat /dev/world | perl -e "(/(^.*? \?) 42\!/) && (print $1))" errors->(c)
In Section
Seekers of Perl Wisdom
|
|