H
Hal Vaughan
I had a module I was using as a common library for a number of programs. It
kept getting bigger and bigger until even the smallest program that used it
took a long time to load, so I split it up into a number of smaller
modules. Now I have some programs that I have to keep stable, so they
still use the oversized module. I'd like to be able to find some way to
scan these programs, and see if any subroutines they they call are located
only in the old module.
I can't think of any way to do this. I figured I could remove the "use"
statement that calls the old, oversized library, and run the programs to
see if I get any "Undefined subroutine errors", but it'll be difficult to
run all the variations to make sure it goes through all the variations of
the conditional branches.
Is there any way to find out if a program (and the modules it calls) are
undefined, or to find out where each called subroutine is (whether it's in
the program, or what module it's in)?
I'm not quite sure what terms to use to look this up. I've got a feeling
this falls under some category or term I don't expect it to.
Thanks!
Hal
kept getting bigger and bigger until even the smallest program that used it
took a long time to load, so I split it up into a number of smaller
modules. Now I have some programs that I have to keep stable, so they
still use the oversized module. I'd like to be able to find some way to
scan these programs, and see if any subroutines they they call are located
only in the old module.
I can't think of any way to do this. I figured I could remove the "use"
statement that calls the old, oversized library, and run the programs to
see if I get any "Undefined subroutine errors", but it'll be difficult to
run all the variations to make sure it goes through all the variations of
the conditional branches.
Is there any way to find out if a program (and the modules it calls) are
undefined, or to find out where each called subroutine is (whether it's in
the program, or what module it's in)?
I'm not quite sure what terms to use to look this up. I've got a feeling
this falls under some category or term I don't expect it to.
Thanks!
Hal