How to resolve properly exception

2003-02-14 Thread Khalid . Naji
Hi, How can I write exception with Perl ? Any thing like this: If (Application generate Error) { message_html('Error ') } Thanks KN -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to resolve properly exception

2003-02-14 Thread Felix Geerinckx
on Fri, 14 Feb 2003 12:38:16 GMT, [EMAIL PROTECTED] (Khalid Naji) wrote: > How can I write exception with Perl ? See, e.g., "Object Oriented Exception Handling in Perl" by Arun Udaya Shankar, available at -- felix -- To unsubscribe,

chatroom

2003-02-14 Thread Stephen Spalding
Hello all, I'm in the process of writing a cgi based chatroom, and I need to figure out a way to tell who is currently logged in the chatroom. The web page is a frameset with three frames: the first one has a listing of the chatrooms you can go to, the second is the actual chatroom itself which i

DBI question

2003-02-14 Thread Peter Kappus
Hi List, Sorry if this is a little offtopic but I'm trying to learn DBI for a CGI I'm writing. Been reading http://www.perldoc.com/cpan/DBI.html but seems a little over complex for what I need...just inserts, updates, and queries really. Portability isn't too important. Probably going to

RE: DBI question

2003-02-14 Thread Hanson, Rob
> Basically, i'm trying to write a little abstraction layer Someone already did the work for you, check out Class::DBI. Here is a good article on it, it might be all you need. http://www.perl.com/pub/a/2002/11/27/classdbi.html Rob -Original Message- From: Peter Kappus [mailto:[EMAIL PRO

Perl problem:(

2003-02-14 Thread t
Hello all:) You have been greaet helps to me in the past, and im hoping you can help now:) A friend of mine is in a class learning perl and her script keeps getting an error that there is a bracket missing on line 190. When i looked at it, all i could see was the nested statement problem i had

RE: Perl problem:(

2003-02-14 Thread Greg Smith
First if statement. $length = length($firstname); if (!$length) { print "Not a valid First Name, try again.\n"; next; --->{ Greg Smith > -Original Message- > From: t [mailto:[EM

Re: Perl problem:(

2003-02-14 Thread Wiggins d'Anconia
t wrote: Hello all:) You have been greaet helps to me in the past, and im hoping you can help now:) A friend of mine is in a class learning perl and her script keeps getting an error that there is a bracket missing on line 190. When i looked at it, all i could see was the nested statement problem

php like behavior for my perl CGI...and DBI followup

2003-02-14 Thread Peter Kappus
Thanks to Rob for his Class::DBI suggestion earlier. Looks like what I needed was simply: my %hash; return $sth->fetchall_arrayref(\%hash); to return an array of hashes... As I'm continuing with my latest project, I'm finding myself wishing I could do some PHP type things...spec