Re: date question

2004-10-12 Thread Lori
Charles K. Clarkson wrote: Lori <[EMAIL PROTECTED]> wrote: : This is a postgresql question , slam me if you must, but : this is the only list where I get a fast response and I : know many of you use postgresql : : I have a int field called when_month and I want to use : it to get th

date question

2004-10-12 Thread Lori
This is a postgresql question , slam me if you must, but this is the only list where I get a fast response and I know many of you use postgresql I have a int field called when_month and I want to use it to get the full month name something like : update mytable set myfield = date_part(

connecting to DB on diff server

2004-03-29 Thread Lori
Is it possible to connect to a Oracle database on a different server ? I just started reading the docs for DBI and DBD::Oracle, but Im not sure what module I would use for connecting to a different server on the same network. Thanks in advance for any tips Lori

Re: Fw: Removing double spaces from a file

2003-11-25 Thread Lori
Try one of these: $_=~ s/\s+//sg; $_ =~ s/^\s+//; #Removing leading spaces Nicu Ionita wrote: > > > > while () > > { > > s/\s\s/\ /g; > > print OUT $_; > > } > > > > > > (Assuming IN is an already open filehandle to the source file, and OUT is > one to a destination file.) > > This doesn

Re: file parsing

2003-10-08 Thread Lori
Thanks Carl ! you were right - I was bitten by using $next line =<> not $next line = ... I did finally get the following code to work, but Im sure it could be done more consisely, Im going to send you all my code followed by my teachers code. Just in case someone finds it interesting. Both my

file-parsing (I got it)

2003-09-30 Thread Lori
my $source = "Whatsnew.html"; my $destination = "hw5.txt"; open IN, $source or die "Can't read source file $source: $!\n"; open OUT, ">$destination" or die "Can't write on file $destination: $!\n"; print "Copying $source to $destination\n"; while(){ if(/^\s+ (\d\d\/\d\d:) #match 1st line

dynamic reports

2003-07-29 Thread Lori
choices, but wanted to ask: "Does anyone have a idea as to the best way to do this? Perl ? XML ? C and postgres ? thanks Lori ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs