Perl: trouble with function names
I was relaxed by Perl because of an ability to create many items with almost the same names: variable $i, array @i function &i and all of them work greatly.
Fact of the matter: for example, we have such a code
#!/usr/bin/perl
require "incl.pl";
sub show{
...
}
and incl.pl contain subroutine show too. I agree it looks stupid but “show” is a very convenient name.
If we call sub like above, the function from include will run. By sober judgment this is the right way.
To draw the attention of myself.