Just a thought-

I know I dont know perl as well as others (yet-Im working on it..)but it seems to me that the common saying about perl and there being "no wrong way to code something" in it could be false-after all, its ability (or should I say lack?) to define what type of variable you are difining when you define that same variable is (to my knowledge) nonexistent-thus you can get your self in a lot of trouble in a hurry if you dont keep a eye on what variables you are using for what-this, in combonation with perls freeform coding abilites, could get a programer in trouble.

I say this becouse in its essance, "The wrong way"isnt defined enough for perl-after all, if you get the job done, you did it, didnt you? (This thinking is not unlike true-false relations in perl itself) Thus its not that there is no wrong way- It's that the wrong way isnt even defined enought to exist in a Perl world. and if you follow that thinking-What is wrong with out right?-for with out a contrast to exist it self CAN'T EXIST, there for if we go further, With out a wrong way-then there is NO RIGHT WAY EITHER, becouse if you follow that string of thought,one can not exist with out the other-so in reality there is no right or wrong way to code something -

Only your ability and knowledge of Perl-

-This is the only thing that hampers you in any way- Thus, it is not perl that restrains you-it is your lack of knowledge and ability. There for the populer saying is false in its very core-becouse for there to be a wrong way, there has to be a right way as well.

Swordkeeper


In reply to There is no wrong way-and there is no right way either. by Swordkeeper

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.