# New Ticket Created by Allison Randal
# Please include the string: [perl #53210]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=53210 >
We've been kicking around the idea of removing new_from_string for a
while, but the pushback is always that it's useful to be able to create
a new PMC with some initialization data, without first creating a PMC
initializer that has to be garbage collected. So, instead of removing it
entirely, make it a standard initialization option, passing a string
argument instead of a PMC argument.
Note, this will require changes to the "new" opcode, and to the
low-level initialization functions ("pmc_new", etc). But, at least it'll
be consistent, instead of a lone crack-headed different way of
instantiating PMCs.
Allison