Meaning of #!/usr/bin/perl


In perl programs what is the meaning of using
#!/usr/bin/perl in the first line.

That first line is actually a very special comment. On Unix systems, if the very first two characters on the first line of a text file are “#!”, then what follows is the name of the program that actually executes the rest of the file. In this case, the program is stored in the file /usr/bin/perl.

Click on the Link given below to More Details:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.