# New Ticket Created by  Will Coleda 
# Please include the string:  [perl #31662]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31662 >


It would be nice if we had some syntactic sugar in PIR, such that:

.sub main @MAIN
  .local int foo = 1
  print foo
  end
.end


Were treated like:

.sub main @MAIN
  .local int foo
  foo = 1
  print foo
  end
.end

... for any type of intializer code...

.local pmc undef = new PerlUndef
.local int math = 2 + 2
.local string concat = $S0 . " whee!\n"

Reply via email to