See perldoc/perlsub for details, but basically $_[0] is the first parameter passed; $_[1] is the second; and so on.
You could always name them in the usual way, but why bother with such a simple subroutine. Beside which, it is more efficient not to.
In reply to Re^12: Comparing 2 different-sized strings
by BrowserUk
in thread Comparing 2 different-sized strings
by AdrianJ217
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |