in reply to Re^5: 'use' inside or outside of package declaration?
in thread 'use' inside or outside of package declaration?

The big question is: Where do you get a font with a "pouting cat face?"
Never mind, I didn’t have symbola, installed on this computer.

What are you using to type? I see you have U+2010 HYPHEN instead of the ASCII hyphin-minus character.

I find wide strings to be a pain in C++/Windows. I suppose it was a good idea at the time of development of NT 3, since UTF-8 was a footnote and not the force for good as we understand it today. Still, at some point they could have made the "code page" for UTF-8 (which is defined) work correctly for the 8-bit char API functions. For all I know it should: it just wraps the native calls around a call to convert, and the convert function handles that one, right?

  • Comment on Re^6: 'use' inside or outside of package declaration?

Replies are listed 'Best First'.
Re^7: 'use' inside or outside of package declaration?
by tchrist (Pilgrim) on May 12, 2011 at 14:37 UTC
    The big question is: Where do you get a font with a "pouting cat face?"
    Never mind, I didn’t have
    symbola, installed on this computer.
    Yeah, Symbola is great, isn’t it? Perl 5.14 and Unicode 6.0 come to the aid of the e‐emotionally challenged:
    % unifmt -22 < emotica
    😢 😔 😐 🌟 🐲 😽 👲 🗽 🐷 😚 😃
    👿 💀 🌞 ⚇ 🙅 👶 👰 👵 🎭 ☺ 🐺
    ☤ 👺 😱 👀 😌 😉 😳 👯 🌜 🐶 👨
    😰 😞 👽 😂 😜 😪 😶 😁 ☃ ☻ 😾
    🐸 👷 😡 ⚉ 😘 💩 👴 😣 🐻 🐮 👳
    🐹 😻 😍 😏 🐴 🌝 😒 𐈿 🐪 🎅 🐾
    ☹ 🐭 💃 👼 😥 😠 😩 ⚜ 😖 👦 😵
    🐼 😝 🌛 👱 👩 🐯 😭 👮 💆 😆 😅
    😤 😺 😼 🐰 👸 👾 😊 ⚛ 😫 😲 👻
    😋 😈 👹 🐧 😇 😸 😎 😨 😓 😹 👧
    😷 🌚 🎃 ⚚ 🐵 🙀 👅 🙆 🐱 😄 〠
    Those aren’t just emotica: they’re emotiquísima! With 11 rows of 11 of them, may you never again lack the right emoticon. 😋
    What are you using to type? I see you have U+2010 HYPHEN instead of the ASCII hyphin-minus character.
    Why, my fingers, of course! What are you using to type? 😜
      I mean, how are you entering the text? The standard monks entry form doesn't do any smart-quotes or typographical character substitution. If I touch-type I get the plain ASCII hyphen-minus. I have a supplementary keypad with more interesting characters, so I can type “don’t” but I'm finding it too much trouble compared to touch typing at full speed on the regular keyboard, so I probably won’t use it much for every old contraction.

      BTW, “‐” isn't in the Gentium Basic font, so Firefox finds one somewhere that don't match. I definitely use — and – all the time, but never found the need to use ‐ instead of - for good typesetting appearance.

        I have magical elves to do all my typing for me. 👳

        I have to type in ⅵ or I go crazy. 😭 And sometimes I run 🐪 scripts to fix things. I find having to type in HTML to be prehistoric (StackOverflow’s system is just about infinitely better), so I of course have 🐪 help me: kind of a home‐rolled pod2monk. 😇

        The four ‘curly’ “quotes” have easy keyboard shortcuts. I don’t have keyboard shortcuts for the two hyphens (HYPHEN ‹‐› and NON-BREAKING HYPHEN ‹‑›), though, just for the two dashes (EM ‹–› & EN ‹—›). I do use all four pretty selectively, and a proper MINUS ‹−› every now and then. I avoid HYPHEN-MINUS ‹-› and APOSTROPHE ‹'› except in code; the others always look much better. 👀

        I should make pod2monk smarter so I wouldn’t have to resort to such complicated 🎹 chords. 😒 Yeah, it slows down the touch‐typing efficiency a bit, but not so much as to make it not worth the bother to have it look good. 💩

        I use Opera on a 🍏 or 👿 (but not 🐧), so don’t really know anything about 👽 setups. I’m looking at everything in a nice Georgia font. I can’t imagine using a font without a HYPHEN; it’s a fundmental requirement of typesetting. Are you sure you don’t have one? 😲