in reply to Re^6: '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.
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? 😜
  • Comment on Re^7: 'use' inside or outside of package declaration?

Replies are listed 'Best First'.
Re^8: 'use' inside or outside of package declaration?
by John M. Dlugosz (Monsignor) on May 13, 2011 at 01:50 UTC
    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? 😲

        So you type in vi and copy the processed results to the input blank? Or do you have further automation to handle that for you?

        Many installed fonts have character U+2010:

        Adobe Caslon Pro
        Adobe Caslon Pro Bold
        Adobe Fangsong Std R
        Adobe Garamond Pro
        Adobe Garamond Pro Bold
        Adobe Heiti Std R
        Adobe Kaiti Std R
        Adobe Myungjo Std M
        Adobe Song Std L
        Alba
        Alba Matter
        Alba Super
        Arial Unicode MS
        Baby Kruffy
        Balloon
        Bell Gothic Std Black
        Bell Gothic Std Light
        Berlin Sans FB
        Berlin Sans FB Demi
        Birch Std
        Blackoak Std
        Brush Script Std
        Calibri
        Californian FB
        Cambria
        Cambria Math
        Candara
        Chantilly
        ChantillyLH
        Chaparral Pro
        Charlemagne Std
        Chick
        City
        Code2000
        CommercialScript
        Consolas
        Constantia
        Cooper Std Black
        Corbel
        Croobie
        DejaVu Sans
        DejaVu Sans Condensed
        DejaVu Sans Light
        DejaVu Sans Mono
        DejaVu Serif
        DejaVu Serif Condensed
        DFKai-SB
        Eccentric Std
        Estrangelo Edessa
        FangSong
        Fat
        Freshbot
        Frosty
        Gabriola
        Gautami
        Giddyup Std
        GlooGun
        HandelGothic
        High Tower Text
        Hobo Std
        hooge 05_53
        hooge 05_54
        hooge 05_55
        Jenkins v2.0
        Jokerman
        Jokewood
        KaiTi
        Kozuka Gothic Pro B
        Kozuka Gothic Pro EL
        Kozuka Gothic Pro H
        Kozuka Gothic Pro L
        Kozuka Gothic Pro M
        Kozuka Gothic Pro R
        Kozuka Mincho Pro B
        Kozuka Mincho Pro EL
        Kozuka Mincho Pro H
        Kozuka Mincho Pro L
        Kozuka Mincho Pro M
        Kozuka Mincho Pro R
        Kristen ITC
        Letter Gothic Std
        Liberation Sans Narrow
        Linux Biolinum G
        Linux Libertine G
        Lithos Pro Regular
        Lucida Bright
        Lucida Sans
        Lucida Sans Typewriter
        Lucida Sans Unicode
        Magneto
        Meiryo
        Meiryo UI
        Mesquite Std
        Microsoft JhengHei
        Microsoft PhagsPa
        Microsoft YaHei
        MicroSquare
        MingLiU
        MingLiU_HKSCS
        MingLiU_HKSCS-ExtB
        MingLiU-ExtB
        Minion Pro
        Minion Pro Cond
        Minion Pro Med
        Minion Pro SmBd
        MS Gothic
        MS Mincho
        MS PGothic
        MS PMincho
        MS UI Gothic
        MVGothicCond
        MVGothicCondSC
        MVGothicH
        MVOldstyle
        MVOldstyleSC
        MVSans
        Myriad Pro
        Myriad Pro Cond
        Myriad Pro Light
        Niagara Engraved
        Niagara Solid
        NSimSun
        Nueva Std Cond
        OCR A Std
        OcrA
        OcrB
        OnStage
        OpenSymbol
        Orator Std
        Palatino Linotype
        PMingLiU
        PMingLiU-ExtB
        Poornut
        Poplar Std
        Porky's
        Prestige Elite Std
        Pretoria
        Pussycat
        Ravie
        Rosewood Std Regular
        Segoe Condensed
        Segoe UI
        Segoe UI Symbol
        Showcard Gothic
        SimHei
        SimSun
        Stencil Std
        Stop
        Sylph
        Symbola
        Tekton Pro
        Tekton Pro Cond
        Tekton Pro Ext
        TITUS Cyberbit Basic
        Toxica
        Trajan Pro
        Trebuchet MS
        Vani
        Weltron Urban
        Zephyr
        
        It's seems that Gentium is simply not one of them. Neither is the copy of Georgia I have installed.

        A few years ago I started writing a book on electromagnetism for kids and curious nontechnical folks. The early chapter on scientific notation and unit dimensions was driving me nuts, trying to type ×,∙,∕, and thin space all the time. So I got an "Xkeys stick" to put above the function key row. Nice hardware, but the software was utterly useless, and only let me set up macros for keys I could already type just fine! I tried hacking the data tables, and tried using it in plain USB Keyboard mode generating keys that are defined but not present like F20 (and letting a keyboard mapper program take it from there), but nothing worked. So I went to the driver level and made my own trivial program.

        I have a hobby of fixing em-dashes on Wikipedia.