Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > Perl
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Perl section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 29th, 2012, 07:44 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

Regards,
Purvee
Reply With Quote
  #2 (permalink)  
Old October 30th, 2012, 05:34 AM
Authorized User
Points: 93, Level: 1
Points: 93, Level: 1 Points: 93, Level: 1 Points: 93, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2009
Location: Moldova
Posts: 23
Thanks: 0
Thanked 2 Times in 2 Posts
Default

It's for running Perl programs under Unix-like OS.
Reply With Quote
  #3 (permalink)  
Old December 4th, 2012, 11:44 AM
Registered User
Points: 14, Level: 1
Points: 14, Level: 1 Points: 14, Level: 1 Points: 14, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default spot on mate

I think your quite correct although you can alias this pre-command to run automatically
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiled /Bin files nanonerd BOOK: Beginning ASP.NET 4 : in C# and VB 3 April 20th, 2012 01:49 AM
URGENT:query regarding perl and excel meghavarshney Perl 1 July 19th, 2011 07:16 AM
create recycle bin abaso.jadhav01 ASP.NET 2.0 Basics 3 December 11th, 2006 03:51 PM
msiloadr.bin is spyware???? nfollmer Intro Programming 0 February 3rd, 2006 02:42 PM
no usr tables VB 6/ XP Pro, SQL 2000/Sml Bz 2003 rreynolds Pro VB Databases 1 December 14th, 2004 01:50 PM



All times are GMT -4. The time now is 08:07 AM.


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