Matt Diephouse (via RT) wrote:
# New Ticket Created by Matt Diephouse # Please include the string: [perl #36623] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36623 >


There's currently no way to delete a global or a lexical.

Globals:

  .local pmc ns
  .include "interpinfo.pasm"
  ns = interpinfo .INTERPINFO_NAMESPACE_ROOT
  delete ns["foo"]

(untested - see also t/pmc/namespace.t)

Lexcials:

  .local pmc pad
   pad = peek_pad
   delete pad["foo"]

(see also t/pmc/scratchpad.t)

leo

Reply via email to