in reply to Error in File::Basename
In your first line of code you assign something to $data, but don't use it. Then you assign something to $filename, but we can't tell what because you don't define $config or show us where it comes from.
Is there some important code missing here. Like use strict; use warnings; usesomeModuleand a line that shows use where $config came from?
|
|---|