# New Ticket Created by Klaas-Jan Stol # Please include the string: [perl #45407] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=45407 >
Hi, Since years IMCC has known the ".global" directive. You can use it like this: .sub main ... .end .global pmc x However, running this will result in an error of IMCC saying that .global has not been implemented yet. I can see the need for such a directive. Sometimes you just want to have some global around. However, when is this global created? does it matter /where/ in the PIR file the directive is written? This is unclear. Also, the same behaviour can be implemented by having an :anon :load :init sub that declares and stores the global. I think it'd be good to make a decision on this: either remove the ".global" directive and the associated grammar rules (making it a few lines shorter), or implement it. regards, kjs