We don't bite newbies here... much | |
PerlMonks |
Re: using user input with net::ssh:expectby alexm (Chaplain) |
on Aug 11, 2009 at 18:52 UTC ( [id://787734]=note: print w/replies, xml ) | Need Help?? |
I tried your code and got the same weird error. Then, I chomped $unme and it worked fine:
Note that I prefer using chomp over chop, but using the latter won't make a difference in this case.
In Section
Seekers of Perl Wisdom
|
|