CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Adding secondary data to a input variable?

 



ranubiset
New User

Oct 18, 2010, 10:31 AM

Post #1 of 3 (284 views)
Adding secondary data to a input variable? Can't Post

"Email: $FORM{email}\n";

I would like to add an additional static email address into this variable above so that it becomes permanent. This way when an email receipt is sent to a customer that filled in the form variable, a second receipt will go to "me@nowhere.com".

Here is the actual line of script...

$info_buffer .= "Email: $FORM{email}\n";

I am not fluent with PERL but see my answer somewhere in this flow:

$FORM{email} = $FORM{email} + ";me@nowhere.com
(I used to be an old BASIC programer)

What is the proper syntax to get the second email into this variable.

Thank you very much for any help.


FishMonger
Veteran / Moderator

Oct 18, 2010, 12:21 PM

Post #2 of 3 (280 views)
Re: [ranubiset] Adding secondary data to a input variable? [In reply to] Can't Post


Code
$FORM{email} .= ';me@nowhere.com';



ranubiset
New User

Oct 18, 2010, 2:03 PM

Post #3 of 3 (273 views)
Re: [ranubiset] Adding secondary data to a input variable? [In reply to] Can't Post

Thank you very much - I will give that a try.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives