perl+expect

Robert L. Harris Robert.L.Harris at rdlg.net
Mon May 20 15:31:00 CDT 2002



  I need to write a script that in 1 instance will wait for a prompt and
then give the answer, kinda like a login prompt.  I want to do this in
perl but I'm not sure how to do this.  I've heard there is a way to make
an expect-ish type of call from within perl.  Anyone know how?


:wq!
---------------------------------------------------------------------------
Robert L. Harris                |  Micros~1 :
Senior System Engineer          |    For when quality, reliability
  at RnD Consulting             |      and security just aren't
                                \_       that important!
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'




More information about the Pikes-peak-pm mailing list