Please see How do I post a question effectively? and provide us with code that reproduces your problem -- this is basic perl feature, available for over 14 years, its not likely the problem is with perl.
Comment on Re^3: Using a module twice giving a problem