Good Morning Monks,
I've spent a good amount of time reading previous posts about how this error is generally created: by redefining a subroutine that has previously been defined in the script or an imported script.
What if after searching through those modules which are imported, I don't find a matching subroutine that I'm apparently redefining?
Could there be yet another reason why this is occuring?
As far as I'm aware (this could be embarassing...), I'm not calling the subroutines incorrectly...
$return_value = &greater($arg1, $arg2);sub greater { my ($arg1, $arg2) = @_; return $arg1 > $arg2 ? $arg1 : $arg2; }
If anyone has any suggestions, that'd be fantastic. I don't want to strictly disable the particular warning either. I'm just not that ecstatic about my logs being bloated.
I've also checked all of my other completely seperate scripts on a whim and found no other subroutines with the same name.
I could post an actual subroutine, if someone might find it of some value...
In reply to Another Subroutine Redefined Post by Heffstar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |