Skip to main content

lint_program

Function lint_program 

Source
pub fn lint_program(
    program: &Program,
    interp: &mut Interpreter,
) -> PerlResult<()>
Expand description

Parse + register top-level subs / use (same as the VM path), then compile to bytecode without running. Also runs static analysis to detect undefined variables and subroutines.