Re: Unable to install DBD::mysql

2007-09-04 Thread kenpeng
When installing DBD::mysql,you need to specify the full path for mysql_config. perl Makefile.PL --mysql_config=/the/path Have you done that? - original Nachricht Betreff: Unable to install DBD::mysql Gesendet: Di 04 Sep 2007 17:41:24 CEST Von: "jeevs"<[EMAIL PROTECTED]> > can spom

Re: question about a routine (send again)

2007-09-03 Thread kenpeng
sorry send it again with plain text. sub make_accessor { my($package, $name) = @_; no strict qw(refs); my $code = <{$name} = $value; } if(exists $self->{$name}) { return ($self->{$name}); } else { return "";

question about a routine

2007-09-03 Thread kenpeng
Hello,What're the meanings of this routine and why people need it?Thanks.sub make_accessor {my($package, $name) = @_;no strict qw(refs);my $code = <{$name} = \$value;}if(exists \$self->{$name}) {return (\$self->{$name});} else {return "";}}EOTif(! defined *{"$package\::$name"}) {eval $code or d

Re: cgi app runtime unique identifier.

2007-09-01 Thread kenpeng
Generally I use process id + timestamp to create the unique key.like, $uniq_key = $$ . time(); - original Nachricht Betreff: cgi app runtime unique identifier. Gesendet: Sa 01 Sep 2007 17:22:00 CEST Von: "Tim Bowden"<[EMAIL PROTECTED]> > I'm writing a small cgi app that takes an upl

Re: i need a second set of eyes

2007-09-01 Thread kenpeng
There's maybe something wrong with the lib and its routines you imported. Try adding 'use strict' and 'use warnings' at the begin of script and run it to see what's happened. - original Nachricht Betreff: i need a second set of eyes Gesendet: Sa 01 Sep 2007 11:54:53 CEST Von: "uncle

Re: Re: create a uft8 file

2007-08-31 Thread kenpeng
- original Nachricht Betreff: Re: create a uft8 file Gesendet: Fr 31 Aug 2007 21:08:08 CEST Von: "Chas Owens"<[EMAIL PROTECTED]> > On 8/31/07, Digger <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I want to create an utf8 file and write some content (like html codes) to > it. > > How