title: handling "--More--" in perl using Expect.pm
body: <p>I have show command for a device with its Mac address, which i am executing in perl using <a href="http://search.cpan.org/~rgiersig/Expect/Expect.pod" rel="nofollow noreferrer">Expect.pm</a>.
  The output of command is more than 100 line with <code>--More--</code> at the bottom.
  I am able to capture output everything before first occurance of <code>--More--</code>.
  But not after that.
  I tried with while loop it is not working for me.
  Please help me resolve this.</p>