in reply to Re^11: Comparing 2 different-sized strings
in thread Comparing 2 different-sized strings

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.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.