I get the following error when trying to execute my script
My code is of the following structure
What's wrong?
Code:
main::logging() called too early to check prototype at mfileparser.pl line 58
My code is of the following structure
Code:
##Some code
if (someCondition>1000)
{
logging("log this condition");
}
##Some other codes
sub logging($)
{
#Do something with $_[0]
}
What's wrong?