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

Idea for the next pool

by gmpassos (Priest)
on Oct 14, 2003 at 02:47 UTC ( [id://299013]=monkdiscuss: print w/replies, xml ) Need Help??

How about this for the next pool:

What resource you haven't used yet in Perl (in your own code)?

  • tainting
  • sockets
  • regexp
  • references
  • format()
  • tie
  • fork
  • thread
  • XS
  • OO
  • POD
  • XML
  • Well, a better list can be made, but I think that will be interesting to know what resource is not used very much, or what the monk haven't learned yet. Soo, this resources can be reworked, or better docs can be writed.

    Graciliano M. P.
    "Creativity is the expression of the liberty".

    Replies are listed 'Best First'.
    Re: Idea for the next pool
    by rnahi (Curate) on Oct 14, 2003 at 06:04 UTC

      If you are talking about "Perl resources", then XML looks out of place.

      Some additions in this category:

      • backreferences
      • lookahead/lookbehind
      • recursive regexp
      • pack/unpack
      • vec
      • splice
      • array slices
      • hash slices
      • nested map
      • eval
      • the Schwartzian transform
      • BEGIN / END
      • one-liners
      If you talk about programming resources in general, then you should include:

      • databases
      • DB files
      • CGI
      • LWP
      • signals
      • Web services
      • mod_perl
      • templates
      • a Parser
    Re: Idea for the next pool
    by Aristotle (Chancellor) on Oct 14, 2003 at 07:38 UTC
      I like the idea, but this really doesn't work as a poll where you can only select a single option..

      Makeshifts last the longest.

    Re: Idea for the next pool
    by DrHyde (Prior) on Oct 14, 2003 at 07:54 UTC
      • Have you used s///e?
        • Have you used s///ee?
          • did you really understand what you were doing?
      • Quantum::Superpositions?
        • In production code
      • An Acme module?
        • without realising that they're a joke
        Looks like the start of a good Perl purity test to me :)
        • Have you ever used '..' in a scalar context?
          • On purpose?
    Re: Idea for the next pool
    by PodMaster (Abbot) on Oct 14, 2003 at 07:40 UTC
      My dad also says pool instead of poll (pole actually) ;) I think the list is to short. Take a look at seven stages of a perl programmer to help you generate a bigger list (either that or perltoc).

      MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
      I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
      ** The third rule of perl club is a statement of fact: pod is sexy.

    Re: Idea for the next pool
    by tilly (Archbishop) on Oct 14, 2003 at 13:32 UTC
      For a poll it makes more sense to ask something like, Which of these is next on your list of things to try or improve on in Perl? That works better for a single option poll. It works if you want to include (as above) a mix of Perl-specific features and non-Perl technologies. And it lessons the possibility that people will accuse you of leaving out what they actually want to try next.

      Now let me disprove the last benefit. I know that you say a better list can be made, but personally I am somewhat miffed to not see closures on your list. :-P

      Examples of worthy additions could include DBI, Inline::*, mod_perl, attributes, and test-driven development.

        Great idea!

        Graciliano M. P.
        "Creativity is the expression of the liberty".

    Re: Idea for the next pool
    by Abigail-II (Bishop) on Oct 14, 2003 at 09:24 UTC
      I've never used formats, threads, XS or XML in my Perl code. XML is of course not a Perl resource, it's just a very verbose way of doing in-band data markup. For formatting output, I've never felt the need of anything more fancy than (s)printf. As for XS, well, if I want to program in C, I program in C, not in XS. And threads, well, I've never seen a reason to use them. To me, there's no benefit of threads over fork/shared memory/4-arg select.

      I think that will be interesting to know what resource is not used very much, or what the monk haven't learned yet. Soo, this resources can be reworked, or better docs can be writed.
      That sounds you are under the impression everything in your list has to be used a lot, or else there's something wrong with it. If it turns out that only one in 20 people use format, does that mean you feel the urge to stimulate the use of format by "reworking the resource" (whatever that means), or by writing better docs for it?

      Say you had a someone different list, with both the .. and ... operators in them, and it turned out that the former was used much more than the latter, are you going to actively promote the use of ... by writing better docs (perldotdotdottut.pod), starting an advertisement campaign (add three inches to your penis by using dot dot dot!) or reworking it such that your computer says "Thank you!" each time you use ...?

      I'm a bit of a loss of what you are trying to archieve.

      Abigail

        I'm a bit of a loss of what you are trying to archieve.
        Presumably - in addition to the stated aim of improving/adding docs - no more and no less than whoever came up with the current poll, "the number of ways I've independently discovered to make Perl segfault".
    Re: Idea for the next pool
    by artist (Parson) on Oct 14, 2003 at 04:30 UTC
      Some sort of ranking and division would be useful, if this really has to get a go.
      Example:I am not using 'format' now as much but so is 'XS'(atleast not directly). I won't consider 'format' much of a thing that I will learn in the future, but that's not the case for 'XS'.

      artist
      ===================================================
      Experience the Commonsense Project.
    Re: Idea for the next pool
    by perrin (Chancellor) on Oct 14, 2003 at 19:13 UTC
      The format() function seems to be an idea that has come and gone. People typically use either sprintf or a templating module instead. I'd bet that format is the least commonly used of all the things on your list.
        I'd bet that XML is the least commonly used, and the most commonly ABused :-)

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: monkdiscuss [id://299013]
    Approved by davido
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others contemplating the Monastery: (4)
    As of 2024-04-19 23:08 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found