in reply to Re: HTTP Requests and Threading
in thread HTTP Requests and Threading

"use strict;"

use 5.012; (at the top of the script) already does this.

From use:

"... if the specified Perl version is greater than or equal to 5.12.0, strictures are enabled lexically as with use strict."

-- Ken

Replies are listed 'Best First'.
Re^3: HTTP Requests and Threading
by tye (Sage) on Mar 07, 2014 at 00:05 UTC

    Well, that's obvious.

    use joke 14; - tye        

      "Well, that's obvious."

      Some clarification, please. What's obvious?

      Is this a reference to "... strictures are enabled lexically as with use strict." in the use documentation?

      Does "use joke 14;" (in your signature area) refer to a series of jokes in the use documentation? If so, is there a list?

      -- Ken

        "Well, that's obvious."
        Some clarification, please. What's obvious?
        Exactly.

        As mentioned in my documentation:

        Of course, if I write "use WORD NUMBER;" such that NUMBER is equal to the number of letters in WORD added to the position in the alphabet of the first letter of WORD, then that indicates sarcasm.

        It is a very powerful mechanism for specifying things. I can extend the list of potential meanings nearly without end. Did you not find that method of declaration intuitive? I suppose I should update the documentation with the mnemonic for each potential meaning, as not everybody will immediately realize all of them. I've found such to often be extremely useful in the Perl documentation.

        Oh, it looks like the documentation you referenced also failed to mention the mnemonic device for remembering the ">= 5.12 means 'use strict'" bit. It would be good to document it, even though, as I previously noted, I thought it was obvious.

        - tye        

        It was also an allusion to a joke I once enjoyed with the punchline of "Timing".