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 reply to Re: How do I train myself to write more Perl-ish Perl, rather than C-ish Perl?
by webfiend
in thread How do I train myself to write more Perl-ish Perl, rather than C-ish Perl?
by amarquis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |