Note that your print could be written:
print "$str\n";
or with current versions of Perl:
say $str;
In reply to Re: Suggestion on rewriting small code
by GrandFather
in thread Suggestion on rewriting small code
by ovedpo15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |