in reply to Re: week of the year
in thread week of the year

I perhaps should have said 'favorite' way or 'most efficient' way. I did searches on SuperSearch, Stackoverflow and Google and have a good solution. I know I've 'been advised' previously and I assure you I do prior research but as we know there is more than one way to do it and I am continually impressed by the answers I receive from Perl Monks. As an aside, I think if it's worth answering my query, it's worth actually answering the query not castigating for being 'lazy'. Thanks to all who replied with solutions.

Replies are listed 'Best First'.
Re^3: week of the year
by ww (Archbishop) on Aug 07, 2014 at 16:28 UTC
    re "I think if it's worth answering my query, it's worth actually answering the query not castigating for being 'lazy'."

    Actually, no... or, at least, I don't agree. You post SOPW like the OP in this thread with great regularity and with no indication that you've tried to help youself, other than unsupported claims like those in this node's direct parent.

    As I see it, if you're allowed, unchallenged, to post lazy questions, you'll continue and others will follow suit.

    OTOH, if challenged, perhaps you'll change your shiftless habits...
    and perhaps those who undermine the value of the Monastery by offering free-code rather than free-help-with-learning will reconsider before again satisfying your 'gim'més'.

    Downvoted.


    Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
    1. code
    2. verbatim error and/or warning messages
    3. a coherent explanation of what "doesn't work actually means.
Re^3: week of the year
by Anonymous Monk on Aug 07, 2014 at 15:11 UTC

    What adds to a post looking "lazy" is it being one line, unformatted, without further explanation or code. Better would have been something like this, nicely formatted with <p> and <code> tags: "I am currently using the following code to find the week number from a given data, code here. I've seen some other ways to do it, but I was wondering if you have any recommendations?" (See also How do I post a question effectively?)

      I agree, will follow suit in the future.