Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I've found the thing that freaked me (and most people) out the most about perl are things that once you know how they're used, they have power that no other language can really compare to...

1. $_ and other hidden variables. These hidden functional variables that just get set at seemingly random times, is freaky. another command that has "implied variables" is "sort" which I always end up looking up, if I have to do anything more complex than use the <=> operator.

2. Sigils and Barewords... they just feel like a bother to most people, who want to know if a variable is an int or a string... it takes a while to understand that context gives type. Whenever I switch between C and Perl I end up dropping sigils by accident, only to find barewords really freak out Perl. Then again, I find pointer notation in C++ is really annoying--especially the precedence required for casting, though in variable declaration the * placement appears all over the place. Perl makes that stuff much easier.

3. Random arbitrary keyword variables like exporter, ISA and all the qw(), and some modules/namespace dereferences is a real pain, but this is mostly because I first learned perl before they were really prevalent... and now that I'm trying to use strict, I find the complaints about my use of globals to be annoying. :) Objects is another one of those things that juggling terms is kinda tough.

4. Pod format... sigh... I know I should learn it... but honestly...

Ironically the regex was what really drew me to Perl, because I learned them in a Unix class before Perl was really known to anyone at my university. And I fell in love with regex captures, from the beginning. THat feature alone has made me a loyalist for life. :) --Ray

In reply to Re: What's it with Perl Syntax ?! by raybies
in thread What's it with Perl Syntax ?! by biohisham

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, 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
  • 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.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (5)
    As of 2018-06-22 04:47 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (121 votes). Check out past polls.