Perl Monk, Perl Meditation | |
PerlMonks |
Re^5: Problem with Net::Telnetby aitap (Curate) |
on Nov 26, 2012 at 17:21 UTC ( [id://1005722]=note: print w/replies, xml ) | Need Help?? |
It looks like you forgot to chomp the line entered by user.
It's also useful to protect arbitrary data in regexes by putting them between \Q and \E.
Sorry if my advice was wrong.
In Section
Seekers of Perl Wisdom
|
|