Perl: the Markov chain saw | |
PerlMonks |
Re^2: perl one-liner doesn't autochomp inputby bronto (Priest) |
on Sep 07, 2004 at 10:20 UTC ( [id://388980]=note: print w/replies, xml ) | Need Help?? |
Oh, damn! How I would like to front-page this! So GREAT! Update: apart that it adds a trailing ":", which I don't like to be there :-( Update: so do also tachyon's and keszler's solutions: the trailing ":" should not be there Ciao! The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
In Section
Seekers of Perl Wisdom
|
|