sub x{
local(*A)=$_[0];
if(opendir(R,"/usr")){x(*R);
}
}
####
sub x{
local(*A)=$_[0];
if (opendir(R,"/usr")){while(){print;}
}
}
####
[s0ttle@ween]%perl subtest
Read on closed filehandle at a line 23.
[s0ttle@ween]%fuq
fuq: Command not found.
[s0ttle@ween]%