output I got isopen FILE,"config.txt" or die "cannot open file : $!"; while(<FILE>) { $ip = ($_ =~ m/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/ ) print "$ip"; # print $_; }
syntax error at startandendmatch.pl line 7, near ") print" Execution of startandendmatch.pl aborted due to compilation errors.
In reply to getting syntex error in pattern search by ulaksh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |