I have another question on this topic. I'm also getting a similar warning in another part of the code: "Use of uninitialized value $\ in concatenation (.) or string at C:\scripts\DailyComp2.8.pl line 208 (#1)". This warning comes from the following line of code:
my $match_live = "\/LIVE>.*$\/";
I am defining a pattern match for Net::Telnet to use in various places in the code. The back slash in $\ is there to escape the forward slash which is the end of the pattern match, but it looks like PERL is interpreting it as variable. Any suggestions? Thanks
In reply to Re^3: Scope Issue
by MKJ747
in thread Scope Issue
by MKJ747
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |