- or download this
if ($read) {
if ($more) {
# do something
}
}
- or download this
#!/usr/bin/perl -w
#or
use warnings;
- or download this
foreach $line (@File_pre_format) {
$file_pre_format .= $line;
}
...
$file_pre_format =~ s/\n|\t//g;
# or in this simple case even better:
$file_pre_format =~ tr/\n\t//d;