Re: split function problem.

2003-07-08 Thread frbn
hi, $name_with_id looks like a comma separated list you can simply *not tested*: ($name,$id) = split (/,/, $name_with_id) -- franck Sara wrote: An input string like; $name_with_id = "Deiley, Sara Jr., 1234"; another example could be $name_with_id = "DEILEY SARA, Jr,. 123"; Two things are fo

split function problem.

2003-07-08 Thread Sara
An input string like; $name_with_id = "Deiley, Sara Jr., 1234"; another example could be $name_with_id = "DEILEY SARA, Jr,. 123"; Two things are for sure in it always. 1- First part contains the alphabets (caps or small) with any number of commas and periods (full stops) in between or at the

Re: tell-a-friend web functionality?

2003-07-08 Thread Wiggins d'Anconia
Paul Torrance wrote: Hi There, Afraid that I'm an absolute beginner when it comes to cgi/perl. What I would like to achieve, however, is to add 'tell-a-friend' functionality to a web site which I have created. Does anyone have any thoughts/advice? Be sure to start a new thread when posting a new t

Re: Working with DBI

2003-07-08 Thread Greenhalgh David
#!/usr/local/bin/perl -wT use strict; use CGI ':standard'; use DBI; use CGI::Carp qw(fatalsToBrowser); # Simulate a param call in CGI my $player="HarryPotter"; # Connect to the database my $dbh = DBI->connect("DBI:mysql:ladderDB", "", "xx"); # Make an update that is representative of t

tell-a-friend web functionality?

2003-07-08 Thread Paul Torrance
Hi There, Afraid that I'm an absolute beginner when it comes to cgi/perl. What I would like to achieve, however, is to add 'tell-a-friend' functionality to a web site which I have created. Does anyone have any thoughts/advice? Thanks in advance, paul -- To unsubscribe, e-mail: [EMAIL PROTECTE

RE: Working with DBI

2003-07-08 Thread Bob Showalter
Bob Showalter wrote: > ... Make sure you have RaiseError turned on. and PrintError -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Working with DBI

2003-07-08 Thread Bob Showalter
Greenhalgh David wrote: > On Tuesday, July 8, 2003, at 01:19 pm, Bob Showalter wrote: > > > Greenhalgh David wrote: > > > ... > > > In other words, my SELECT block is returning the value of available as > > > it was before the UPDATE, even though I have AutoCommit set to 1, the > > > UPDATE is ca

Re: Working with DBI

2003-07-08 Thread Greenhalgh David
On Tuesday, July 8, 2003, at 01:19 pm, Bob Showalter wrote: Greenhalgh David wrote: ... In other words, my SELECT block is returning the value of available as it was before the UPDATE, even though I have AutoCommit set to 1, the UPDATE is called before the SELECT and manual investigation of the t

Re: sending mail to a group using perl

2003-07-08 Thread Jon Hogue
Is this a global group or one you've set up for your personal use? At 05:37 AM 7/8/2003 +, Sally Librilla wrote: Hi, I'm send email using the Mail::SendMail module. I understand how the send To field works for multiple works however, I can't get it to work to send mail to a group existing i

RE: CGI Module Reference

2003-07-08 Thread Scot Robnett
Online docs --- perldoc CGI O'Reilly books -- CGI Programming with Perl CGI Cookbook - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Shaw, Matthew [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 1:44 PM To: [EMAIL PROTEC

RE: Working with DBI

2003-07-08 Thread Bob Showalter
Greenhalgh David wrote: > ... > In other words, my SELECT block is returning the value of available as > it was before the UPDATE, even though I have AutoCommit set to 1, the > UPDATE is called before the SELECT and manual investigation of the > table clearly shows that the UPDATE was successful. T