Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Says [da]:
I'm not able to come up with the origin of the word sigil, but I first saw it in Damian Conway's Exegesis 2, and I know the term is used by gnat and japhy.
The term 'sigil' to mean the funny character at the front of a Perl variable was coined on 3 March 1999 by Philip Gwyn. I immediately posted about it to p5p:

The source code actually uses the term `funny characters' to refer to the $@%*& characters that select the variable type. This terminology leaves a lot to be desired, but until now, I'd never heard a better suggestion. They don't really have a good name. This has sometimes been a problem for me when I've written documentation. The temptation is to pretend that the funny character is part of the variable name, which it isn't.

Philip Gwyn just used the word `sigil'. This struck me as a really wonderful coinage that shouldn't be lost. The spelling of `sigil' suggests `sign', which is good, and the word doesn't presently have any other meaning in the Perl context, also good.

Glancing over man pages like `perldata' I can see a lot of places where the explanations would become simpler or more accurate if the word `sigil' were used.

Finally, according to the dictionary here, it means:

A sign or image considered magical.
Which is a really perfect description of it.

The term started catching on right away, and has gradually gained popularity.

In reply to Re: sigil by Dominus
in thread Polysignant variables by scott

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (6)
    As of 2020-02-19 17:43 GMT
    Find Nodes?
      Voting Booth?
      What numbers are you going to focus on primarily in 2020?

      Results (84 votes). Check out past polls.