# New Ticket Created by James Keenan # Please include the string: [perl #48493] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=48493 >
Pursuant to discussion between Andy Dougherty and myself in http:// rt.perl.org/rt3/Ticket/Display.html?id=48459, review all subroutines in lib/Parrot/Configure/Step.pm to guarantee that the arguments which each needs are explicitly passed to it. In particular, revise cases where subroutines examine the Parrot::Configure object ($conf) without having it explicitly passed to the routine. The principal offenders appear to be: cc_build() cc_run() cc_run_capture() Step.pm manages to pass 'perl -c' because it declares a $conf which is a Parrot::Configure object. It manages to get away with this because the Parrot::Configure object is a singleton. Hence the constructor call at line 39 returns the same Parrot::Configure object that was created in Configure.pl. Then revise all calls to these subs in the step classes and subclasses underneath config/ so that $conf is explicitly passed. kid51