At 11:52 AM 8/17/2001 -0400, Chris Devers wrote:
>On Fri, 17 Aug 2001, Daniel R. Allen wrote:
>
> > Seems to be new as of 5.6.0, but they aren't listed in perldelta.
> >
> > I did find out that as of perl5.6 you can have variable names such as
> > ${^Hi} where the ^H is actually 'ctrl-h'.
> >
> > But I'm not sure why this is useful.
>
>My guess would be for forward compatibility with Unicode / non-western
>languages. Ctrl-H, or "^Hi" might map to a perfectly reasonable character
>in Arabic or Japanese or whatever.

Nope. It's because we ran out of punctuation and single-control-character 
variables for core things. ($^E, for example, can be written as $ctrl-E) 
They aren't supposed ot be used for user-variables, just special/core 
variables.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to