Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Late PM, 12/24/2014 & all year long

by ww (Archbishop)
on Dec 25, 2014 at 04:00 UTC ( [id://1111333]=obfuscated: print w/replies, xml ) Need Help??

perl -e "srand 42; print sort {4-rand 9} split //, 'ts aroMrhirsae C tll!!ym';"

Adapted from Re^2: Slightly Srandom JAPH; Update: now known to be highly OS and version specific, but "Season's Greetings" anyway!
*1 : Alt date format: 20141224. This node, however, is known to be ISO 2000 non-compliant.
*3Notes placed in sig & then reordered for comppliance with obfuscation.
*2 : Original OS/vers.: AS 5.018 & Win7.

Replies are listed 'Best First'.
Re: Late PM, 12/24/2014 & all year long
by KurtSchwind (Chaplain) on Dec 29, 2014 at 21:18 UTC
    irMni pxrhvts oril. atpsae Cmley dhm

    Perhaps not the intended output? I'm running v5.14.2 of perl on an Ubuntu box.

    --
    I used to drive a Heisenbergmobile, but every time I looked at the speedometer, I got lost.

      As it says in the OP sig, ' suspected of being highly OS and version specific, but "Season's Greetings" anyway! '. /me cargo-culted, modified, tweaked the creation procedure repeatedly and finally went back to mere cargo-culting so it would run on the box that was then-available: Win7 & AS Perl v 5.018 and 5.016. Ubuntu box was down, so merely suspected (from docs and other notes and comments) that execution with a different OS (or different Perl, for that matter) would fail. Thanks for confirming and warning others.

      As best I understand it, srand and repeated calls to srand may produce inconsistent results even in Perls > 5.12... and (for others interested because they are stuck at some earlier vers.) anything before that is unlikely to work. For (slightly) more detail, see the node referenced in the sig of the OP, Re^2: Slightly Srandom JAPH.

      And Happy New Year (or, for latecomers, some other semi-appropriate holiday greeting)!

        Suggestion: When posting code that uses rand, intended for cross-platform consumption & reproducibility: use Math::Random::MT qw[ rand srand ];.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        It was in no way meant to be disrespectful. I did see that it was OS dependent which is why I posted my version of the OS and Perl.

        --
        I used to drive a Heisenbergmobile, but every time I looked at the speedometer, I got lost.
Re: Late PM, 2014-12-24 & all year long
by Tux (Canon) on Dec 30, 2014 at 10:34 UTC

    The title is obfuscating enough for me already. There is no way a year can have 24 months!


    Enjoy, Have FUN! H.Merijn

      LOL.

      ;-)

      But existing format is quite the norm here is this part of the New World/Colonies/Great Satan/US/your-preferred-nick. So LOL and ++ for the parent comment; not so much for the (facetious?) consideration.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 05:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found