Current location: Hot Scripts Forums » Programming Languages » Perl » Rare error for perl


Rare error for perl

Reply
  #1 (permalink)  
Old 03-21-05, 09:46 PM
weilies weilies is offline
Newbie Coder
 
Join Date: Apr 2004
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Rare error for perl

hav somebody have any experience that the perl script hav running error becoz of the very first line "#!/usr/bin/perl", the problem solved after delete the whole line n RETYPE EXCATLY the SAME WORD... how can this happen?
Reply With Quote
  #2 (permalink)  
Old 03-22-05, 03:52 AM
weilies weilies is offline
Newbie Coder
 
Join Date: Apr 2004
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
i jz found a solution for myself. how stupid m i. it looks like win and unix based newline char is different. everytime we need to transfer perl script that written in window platform need to convert to unix format first.

else we may reward with an error. unix cant recognize the window's newline character.
Reply With Quote
  #3 (permalink)  
Old 03-22-05, 10:24 PM
Chas Chas is offline
Coding Addict
 
Join Date: Oct 2003
Location: California
Posts: 359
Thanks: 0
Thanked 0 Times in 0 Posts
Did that end up being the problem on the latest post in this thread: http://www.programmingtalk.com/showthread.php?t=17354 ?

~Charlie
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi player gaming site / php script KingsZone Job Offers & Assistance 7 09-26-04 11:16 AM


All times are GMT -5. The time now is 04:03 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.