John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
So, introducing a one-character sigil for file handles, I could trivially support that with no extra overhead.
E.g. use ModuleName v2.3.1 qw/foo $x %hash ^LOG/; if I decide to make ^ my pseudo-sigil. I already use a - for pragmas and a : for tags, and reserve + for user extension.
So, what character should I use? As long as it's not any of those or something that can be in an identifier name, anything will work.
Perhaps it can use some strange Unicode character that nobody would ever use for anything else? "\N{REFERENCE MARK}LOG" doesn't look half bad...
—John
update (broquaint): changed title
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)Re: ...beause I can
by tye (Sage) on Nov 01, 2002 at 20:25 UTC | |
by John M. Dlugosz (Monsignor) on Nov 01, 2002 at 20:42 UTC | |
by Kanji (Parson) on Nov 01, 2002 at 21:36 UTC | |
by John M. Dlugosz (Monsignor) on Nov 04, 2002 at 16:37 UTC | |
Re: ...beause I can
by particle (Vicar) on Nov 01, 2002 at 20:58 UTC | |
Re: ...beause I can
by false (Novice) on Nov 01, 2002 at 21:47 UTC | |
by Aristotle (Chancellor) on Nov 02, 2002 at 06:28 UTC | |
by Louis_Wu (Chaplain) on Nov 01, 2002 at 23:03 UTC |