- or download this
$status =~ s/(\W+)/ /gs; #Eliminate all non-word characters followed b
+y space.
- or download this
$soc =~ s/(\W+)/ /; #Eliminate all non-word characters followed by spa
+ce.
- or download this
$subscriber =~ s/(\D+)/ /; #Eliminate all non-digits followed by space
+.
- or download this
foreach (@file_row) {
while ( $line < $#file_row + 1 ) {
...
$line++;
} #while
} #foreach
- or download this
foreach $row_data ( @file_row ) {
# Processing goes here.
}
- or download this
while ( $row_data = <IN_FL> ) {
# Processing here
}
- or download this
open(IN_FL, $input_FL) || die ("unable to open directory");
- or download this
open IN_FL, $input_FL or die "unable to open $input_FL:$!";