Dave Mitchell wrote: >Is there any reason we couldn't just add a check to Perl_localize, >Perl_my_attrs (ant maybe a few other places), which gives a deprecation >warning if o isn't of one or two simple forms (like >list/pushmark/(pad[sah]v x n) ? That's effectively what we've already got. It's an error rather than a warning, and the check is in S_my_kid() which is called from Perl_my_attrs(). This ticket is concerned with items that have problematic effects when lexed in a "my" list but duck this semantic check (by causing a parse error or by not leaving any evidence in the optree). -zeframThread Previous