On 7/6/06, Chip Salzenberg <[EMAIL PROTECTED]> wrote:
So here's an illustrative suggestion, which I think is a variant on one of
your also-rans, albeit one that leaves the common HLL case unmarked:

      .HLL 'perl5', perl5_group
      .namespace ['Foo']

      $P0 = get_cur_global 'x'              # ['perl5';'Foo';'x']
      $P0 = get_cur_global ['Bar'], 'x'     # ['perl5';'Foo';'Bar';'x']

am i silly to think that if i'm looking for globals from the current
namespace, they're just as likely to be found closer to the namespace
root, than further away? perhaps something like

   .namespace [ 'Foo'; 'Bar' ]
   $P0 = get_cur_global -1, 'x'     # [ 'perl5' ; 'Foo' ; 'x' ]

i don't see any examples that make it easy to look in that direction.
~jerry

Reply via email to