p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Perl (http://p2p.wrox.com/forumdisplay.php?f=196)
-   -   Query Regarding #!/usr/bin/perl (http://p2p.wrox.com/showthread.php?t=88696)

pvora October 29th, 2012 07:44 AM

Query Regarding #!/usr/bin/perl
Hi All,

Can anyone tell me it is mandatory to define #!/usr/bin/perl at the starting of any perl programm?

I have not use this string in my programm still it is running without any error? I want to know the use of this string at the start of programm.


chorny October 30th, 2012 05:34 AM

It's for running Perl programs under Unix-like OS.

jackjack December 4th, 2012 12:44 PM

spot on mate
I think your quite correct although you can alias this pre-command to run automatically

All times are GMT -4. The time now is 11:44 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.