where mysub is subroutine name. Please explain what how arguments are being passed through shift itself. As far as I know shift is used to get the very first element of an array. But here I cant see any array. Are these 'shift's' taking value from command lines?? Pl help.mysub shift, shift;
In reply to Using 'Shift' in subroutine argument by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |