Is one of these superior to the other, and if so, why? given
which is better?use strict; my $contents = param("$a");
ormy @contents = split( /\n/, $contents ); $contents = join( "<br>", @contents );
?$contents =~ s/\n/<br>/g;
_________________________________________________________________________________
I like computer programming because it's like Legos for the mind.
In reply to Is one form of character substitution better than the other, and if so, why? by OfficeLinebacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |