in reply to Is it possible to automate a login with perl

Use the expect module.
  • Comment on Re: Is it possible to automate a login with perl