Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 09-15-2006, 10:43 AM   #1 (permalink)
Registered User
 
Join Date: Jun 2006
Posts: 122
OS: Windows XP home


Question Need help with Perl

Hello,

I need some assistance, just a question really. I see this line in my coding:

#print SENDMAIL "To: employment\@rrmca.com\n";
pirnt SENDMAIL "To: retroesh\@gmail.com\n"; #test to see #if it can send to gmail

2 questions pop in my head that I need you assistance. One of the questions is, when I see the line:
#print SENDMAIL "To: employment\@rrmca.com\n";
The # sign, does that mean it’s a comment or does that mean it’s a start of a execute or a pointer? Or is it just a commented out, because we want it to send it to employment@rrmca.com which is an email. Then I look at the email that it shows, however its input within the code as “To:employment\@rrmca.com\n”;
I do know that the \n means end line, which is a common c++ ending line, however it’s the email that it shows it as employment\@rrmca.com which puzzles me, is that correct, or does it need to be “To:employment@rrmca.com\n”; ??

I thank you for taking this time to reading my email, if you can get back to me either email or post it. also if you guys want to see the perl script, i can email it to you, just post your email.

Thank you

Steven B
Siten0308 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 09-15-2006, 11:44 AM   #2 (permalink)
Retired
 
gamerman0203's Avatar
 
Join Date: Oct 2005
Location: Grand Rapids, MI
Posts: 2,144
OS: XP MCE, Ubuntu Gutsy

My System

the "#" is a comment introducer and terminator so what seems to be happening is the first line is commented out so the second line will execute. that way, if the user wants the first line to run and not the second, they just move the comment. It is much easier than deleting a line and then retyping it later when it's wanted.
gamerman0203 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-15-2006, 11:59 AM   #3 (permalink)
Registered User
 
Join Date: Jun 2006
Posts: 122
OS: Windows XP home


thanks for the info... but now..

thanks for the info, but now i still have the problem of the script not sending the email to employment@rrmca.com, i have deleted the # which commented it out, how about the \ between employment and @rrmca.com? should i delete that as well?? also, if you want to see the entire script, please give your email and i will email it to you, maybe there is something in the script that i am doing wrong, or maybe something wrong with the html, which i can email you that as well, there are a total of 2 htmls.
Siten0308 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-15-2006, 01:57 PM   #4 (permalink)
Retired
 
gamerman0203's Avatar
 
Join Date: Oct 2005
Location: Grand Rapids, MI
Posts: 2,144
OS: XP MCE, Ubuntu Gutsy

My System

I really can't be of much help as far as that goes. I don't know much about Perl so I honestly can't help with a whole lot.
gamerman0203 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2006, 08:03 AM   #5 (permalink)
Design Team
 
DJ-Zep's Avatar
 
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)

My System

I do not know much about perl at all, but if you can define variables and use them then do this:

emailvariable = 'employment@rrmca.com';



That is PHP format but single quotes display literal statements in most languages.
__________________
Nice music blog

Nvu || Notepad++ || Apache || PHP || Keep TSF Alive

"The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier."
DJ-Zep is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-20-2006, 02:27 AM   #6 (permalink)
aka mr.fraggs
 
Fr4665's Avatar
 
Join Date: Nov 2004
Location: USA or Germany
Posts: 2,965
OS: Win XP,Vista,Android

My System

Send a message via ICQ to Fr4665 Send a message via AIM to Fr4665 Send a message via MSN to Fr4665 Send a message via Yahoo to Fr4665
Quote:
Originally Posted by DJ-Zep View Post
I do not know much about perl at all, but if you can define variables and use them then do this:

emailvariable = 'employment@rrmca.com';



That is PHP format but single quotes display literal statements in most languages.
there u go hes correct. u can only use the \ when u have "" double quotes otherwise u should be able to just use @ with single quotes.
__________________
I don't subscribe to threads please PM me if i miss a reply.
-------
Everest SensorView Pro DriverCleaner how to fix your game
Fr4665 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 07:39 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85