Welcome to the Monastery | |
PerlMonks |
Re: How do I train myself to write more Perl-ish Perl, rather than C-ish Perl?by webfiend (Vicar) |
on Dec 13, 2007 at 19:46 UTC ( [id://656898]=note: print w/replies, xml ) | Need Help?? |
I had the same problem. The only thing that got me out of it was to force myself to write a lot of Perl code (not so bad) that used map, grep, and foreach style (very awkward at first). The new approach became more natural after a few weeks. I completely forgot about my older style after a couple of months. Really, the best way to stop writing C-style Perl code is to start writing Perl-style Perl code.
In Section
Meditations
|
|