in reply to Re^2: Cancel/no-op a requirein thread Cancel/no-op a require
Also the innards of the function are kinda odd. You need to assign lines to $_ rather than returning them. I can understand why they did it that way, but it's pretty strange.