If you are constructing regular expressions, the qr operator is much more convenient:
my $match_live = qr/LIVE>.*$/;
If Net::Telnet does not want qr-quoted regular expressions, use single quotes to construct your string and not interpolate variables:
my $match_live = q'/LIVE>.*$/';
In reply to Re^4: Scope Issue
by Corion
in thread Scope Issue
by MKJ747
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |