I'd like to comment on Perl as a programmming language.
Perl is a programming language with many built in commands, many different ways of doing things and aiming at many different problem areas. This is mostly considered a Good Thing in the Perl community.
As such, Perl provides you a lot. OTOH, and IMHO, Perl also require quite a lot from the programmer. Agreed, it is very easy to write a small script to solve a small and well defined problem. But when you start to write something big and/or complex, there are numerous ways of getting confused.
Perl gives freedom to the developer. Freedom has a price and the cost is responsibility. Perl puts you in the front seat. You drive. So chose your road visely. Perl will not stop you from going off the cliff. Or into the rock wall.
Good Perl is better or as good as good code in most (any?) other language. Bad Perl code is a disaster.
If you're experiencing problems with infinite loops in your daily work I see two potential solutions:
- Invest your own time, interest and involvement in a language like Perl. Study a lot. Take time to learn. You will be rewarded for serious efforts.
- Chose a more limited language. A language that will guide you while typing. Visual Basic comes to mind with it's syntax parsing IDE.
Now, these are only opinions. But they come from having programmed in many different languages. And from having passed the 'newbie' level in Perl, still without being able to call myself an expert in Perl. Experienced maybe, but not an expert.
Everything went worng, just as foreseen.
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.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||