You must use the type-globbing *VAR notation. Here is some code to
cat an include file, calling itself recursively on nested local
include files (i.e. those with #include "file", not #include
sub cat_include {
local($name) = @_;
local(*FILE);
local($_);
warn "
Other resources at this site: