in reply to Re^5: Add a fixed number of unique elements to hash [sample() vs. shuffle()]
in thread Add a fixed number of unique elements to hash

Hi Dave, yes I have an old O2 computer with the amazing irix 6.5.22 operating system. At my first IT job these machines were still used for oil pipe design (along with some other SGI machine, eg. Indigo, Octan and Indy) and when they were scrapped I couldn't resist the temptation to buy a few (Indy and O2). The last still working Indy is now in the attic, but I still use an O2 in my carpentry workshop for listening to music :-)

hippo thx for the link you shared!

Best whishes, Vasek
  • Comment on Re^6: Add a fixed number of unique elements to hash [sample() vs. shuffle()]

Replies are listed 'Best First'.
Re^7: Add a fixed number of unique elements to hash [sample() vs. shuffle()]
by cavac (Prior) on Mar 06, 2023 at 13:59 UTC

    "Honey, why do you need another 3 phase outlet in the workshop? Did buy another CNC machine???"

    "No, it's for the MP3 player."

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
Re^7: Add a fixed number of unique elements to hash [sample() vs. shuffle()]
by davido (Cardinal) on Mar 06, 2023 at 19:22 UTC

    That's pretty amazing.

    I was thinking back to where I was when 5.004 was around. I was barely getting interested in Perl at that time. I'm pretty sure some of the OReilly books I bought had a little banner in the corner saying "Updated for Perl 5.004." Most of my programming at the time would have been in C, some Borland C++, or on one computer I had, some version of Turbo Pascal. Perl was an eye-opener, coming from those sorts of languages.


    Dave