aurora26 has asked for the wisdom of the Perl Monks concerning the following question:
please help me to solve this...Thank u$line = <FILE>; $i=0; $Count=0; @Temp_array=0; while ($line ne "") { $_=$line; if (/MAN [0-9]+/ || /MAN: [0-9]+/ ) { $Temp_array[$i]=$&; $_=$Temp_array[$i]; if(/ [\d]*/) { $Bug_num_array[$Count]=$&; } $i++; $Count++; } $line = <FILE>; } close FILE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regular expression to match in between digits..
by AnomalousMonk (Archbishop) on Dec 28, 2011 at 08:25 UTC | |
|
Re: regular expression to match in between digits..
by TJPride (Pilgrim) on Dec 28, 2011 at 19:32 UTC |