The modules that I'm using are Switch, diagnostics, sigtrap and FindBin::libs. I'm going to stop using Switch. I need to use FindBin::libs and I'm going to contact the user to see how he uses Text::Balanced. I'm not using it directly. So hopefully if I stop using Switch and I'll try debugging without using FindBin::libs. There definately seems to be a problem because everything can be working and then I put in a print statement and I get that error again.