On 10/20/06, Ramprasad A Padmanabhan <[EMAIL PROTECTED]> wrote:
I am getting warnings like ( when I run perl -wc ) Subroutine foo redefined at bar.pm. I am sure these functions are not redefined anywhere.
Perl is sure that they are. It's more likely to be correct than you are. The error message should have a line number, as well as a file name; you seem to have removed it. Is there a subroutine definition starting near that line? Is there another subroutine with the same name somewhere else? If your source code defines the subroutine only once, maybe you're compiling it twice somehow. Or maybe you're loading a subroutine from a module, then defining another with the same name. Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>