It's implicit in what others have said, but just to make it explicit -- the purpose of that line is so that if the file accidentally gets run by a shell, it will still end up running in Perl.
In reply to Re: What is the intention and logic of this line in the beginning of the script?
by dd-b
in thread What is the intention and logic of this line in the beginning of the script?
by accessdenied
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |