Another option would be to learn a different language that tends to force you to think in different ways. I've mostly used Perl in procedural ways, because that was my background from assembly and BASIC and C, so lately I've been dabbling with Lisp/Scheme, to get more comfortable with functional programming and concepts like closures and first-class functions. You can do functional programming in Perl, and some recent books like Higher Order Perl get into that; but a language like Lisp practically demands it, and tutorials include it as par for the course. Getting out of my comfort zone helps me to stop thinking, "Yeah, but why not just do it the way I've always done it?" and immerse myself in this different way of solving problems. Then I can come back to Perl and apply what I've learned.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||