Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Where have you been all my life? Right under my nose! Right here in this browser!

    Javascript... giver of pain and pleasure!

    • Randal L. Schwartz
    • Stonehenge
    • It’s actually kind of fun.

      The language itself is kind of neat. It has hashes, lists, and closures, so you can easily speak Javascript with a lisp. It sure isn’t Lisp or Perl, but it’s quite tolerable. I’d rather write Javascript than PHP…

      And implementations across browsers now have a modicum of consistency, so you don’t pull your hair out all the time.

  • ord? Don’t you mean chr?

    ord does the opposite (take a char, return the codepoint).

  • I'm a little wracked out right now, but don't you want to mod 10 after mod 100 isn't 11-13? 122, after all, should be 122nd, not 122th.