|
|
| more useful options | |
| PerlMonks |
Re: Remove the ^M Character from a Documentby hacker (Priest) |
| on Jun 04, 2002 at 08:55 UTC ( [id://171465]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
As you know, "LTS" or "Leaning Toothpick Syndrome" does not always have to involve the use of the '\' character to escape the presence of another '/' character. Seeing '/\/\/\' is also an example of LTS.
Using another delimiter makes the code more readable, and is recommended by many top perl programmers (and is also covered in perlfaq, perlretut and in japhy's book). They are easier to read, because I don't have to visually and mentally separate what the content between the substitution means before I can decipher what the substituion does. Are we not here to teach others, and share that knowledge we've learned with others who may not yet have the experience? TMTOWTDI
In Section
Cool Uses for Perl
|
|
||||||||||||||||||||||||||||