get ideas what perl modules loaded in my server

2005-05-19 Thread Eko Budiharto
Hi, is there anyway I can check what kind perl modules are loaded in my server? I am looking forward to a favorable reply from you. Thank you. Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone.___ ActivePerl mailing list Ac

time::format

2005-05-19 Thread Eko Budiharto
Hi, I am looking for  the time::format module. I found one from CPAN and downloaded. I extracted and I found it is error. Can someone tell me where other places that have time::format worked to download? I am looking forward to a favorable reply from you. Thank you.   Yahoo! Mail Stay connected,

RE: DBI - saving the contents of PrintError

2005-05-19 Thread Bill - compuserve
Thanks Brian and Vitor, I ended up using the HandleError route and that seems to work well. Using a connection string like: $dbh = DBI->connect("$dsn","$dbuser","$dpassword", {RaiseError=>0, PrintError=>0, AutoCommit=>1,

Re: Preserving State in CGI

2005-05-19 Thread David Nicol
On 5/18/05, $Bill Luebkert <[EMAIL PROTECTED]> wrote: > > Even with the goto's, you could just verify that the state vrbl > was legit (using a hash) and then just do the goto without all > the rest of the junk. > > if (exists $hash{$state}) { > goto $state; > } else { > error > }

RE: DBI - saving the contents of PrintError

2005-05-19 Thread Brian Raven
Bill - compuserve wrote: > Hi All, > > I'm using DBI and am currently trying to set up an error logging > system to catch DBI errors. I'd like to use the automatic error > trapping provided by DBI so I'm using a connection call like this: > > $dbh = DBI->connect("$dsn","$dbuser","$dpassword", >

RES: DBI - saving the contents of PrintError

2005-05-19 Thread Vitor
eval could be an option : eval { block that executes somethign with DBI } if ($@) { send email here. } -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Bill - compuserve Enviada em: quinta-feira, 19 de maio de 2005 11:19 Para: activeperl mailing list As

DBI - saving the contents of PrintError

2005-05-19 Thread Bill - compuserve
Hi All, I'm using DBI and am currently trying to set up an error logging system to catch DBI errors. I'd like to use the automatic error trapping provided by DBI so I'm using a connection call like this: $dbh = DBI->connect("$dsn","$dbuser","$dpassword", {RaiseError=>1,

RE: comparing files

2005-05-19 Thread Brian Raven
michel van berkel wrote: > Dear gurus, > > I know this is a piece of cake for you, but I am new to Perl so here > is my question. > I have two files, one is the result of my FTP (files present on the > server) and the other one my local list of files I have already > treated. > > I thought it

Re: comparing files

2005-05-19 Thread $Bill Luebkert
michel van berkel wrote: > Dear gurus, > > I know this is a piece of cake for you, but I am new to Perl so here is my > question. > I have two files, one is the result of my FTP (files present on the server) > and the other one my local list of files I have already treated. > > I thought it wa

comparing files

2005-05-19 Thread michel van berkel
Dear gurus, I know this is a piece of cake for you, but I am new to Perl so here is my question. I have two files, one is the result of my FTP (files present on the server) and the other one my local list of files I have already treated. I thought it was easy, so I read the treated files into a