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
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(
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
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
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
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
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