The regular expression that you are using to match the prompt
is looking for a dollar, hash or pound followed by a space followed by dollar./[\$%#>]\ $/
To match just a ">", change it to
/>/
non-Perl: Andy Ford
In reply to Re: Login failure with net::Telnet
by andyford
in thread Login failure with net::Telnet
by unixgeek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |