---
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850553/direct/01/
OOPS!! Thank you! That "a" was the problem. :)
-garrett
>From: Felix Geerinckx <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Database Access Problem (again)
>Date: 2 May 2002 20:25:22 -
>
>on Thu, 02 May 2002 20:11:29 GMT, Garrett Esperum wrote:
print "$oid\n";
}
$sth->finish();
$dbh->disconnect();
------------
I think I am screwing up the whole while loop.
-garrett
>From: "garrett esperum" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Sub
Hello all again,
Solaris, Perl 5, Oracle 8.1.6
OK, so here I am... Now I am having issues accessing my database from my
Perl SQL query. I want to query my DB and put it's response into a variable
to be used later. I really think that I am structuring my perl query wrong.
How do I get my SELEC
Hi all,
I am using Solaris, Perl 5.
I am having some problems manipulating strings.
The string I am manipulating is:
/export/home/user/www/doc-root/dir/projects/19463/1_0001.doc
I am trying to take out the "19463" part from the string and insert it into
a variable.
Example of my code to do
row = $sth->fetchrow_array )
> {
> $oid=$row[0];
>
> print TEXTFILE"$oid\n";
>
> }
>$sth->finish();
>$dbh->disconnect();
>
> } #end of while loop
>
>This should work
Hello all,
Solaris, Oracle 8.1.6, Perl 5
How do I write my selected row from Oracle out to a new file? Below is what
I have so far. I can select the row, but I don't know how to write it to a
new file:
#!/usr/local/bin/perl -w
#
# REMEMBER! Set the environment variable: ORACLE_HOME=/path-to-
">>dir.txt") || die "Inside Func - Cant open dir.txt: $!\n";
print OUT "$file \n";
close(OUT);
# print "$file \n" if -d "$dir/$file";
}
Thanks!!!
-garrett
>From: "garrett esperum" <[EMAIL PROTECTED]>
>To: [EMAI
Hello all,
Sorry about my previous message, I left alot of key info out. I am using
Solaris 2.6. I want to read all of the directory names after $mydir, and
then print those names into a file. How do I do this?
Currently I have this as my script:
#!/path/to/perl -w
use strict;
my $dir = '/
Hello all,
I want to read all of the directory names after $mydir, and then print those
names into a file. How do I do this?
Thanks!!
-garrett
_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com
Thank you all for helping me with my script! Below is it's final WORKING
incarnation. You all were very nice and very helpful!!
Thank You!
#!/usr/local/bin/perl -w
use strict;
use File::Path;
my $file;
my $type;
my $currentLocation;
my $newLocation;
my $owner;
my $permissions;
open (MDATA, "m
on (/) at ./cre3.pl line 23,
line 1.
Argument "www" isn't numeric in division (/) at ./cre3.pl line 23,
line 1.
Illegal division by zero at ./cre3.pl line 23, line 1.
What am I doing wrong still? I am so close!
-garrett
>From: Curtis Poe <[EMAIL PROTECTED]>
>Re
html/one/two/three/ www me 0755
What am I doing wrong?
-garrett
>From: Steve Mayer <[EMAIL PROTECTED]>
>To: garrett esperum <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: V2 Sandbox Creation Script
>Date: Thu, 10 Jan 2002 14:49:57 -0800
>
Hello all,
Below is what I have so far for my script, I can get every piece to work
correctly on it's own, nut I cannot get these two pieces to work together. I
think I am messing up the syntax of this script. What Am I doing wrong?? How
do I loop in the Directory creation, and file copy proce
Hello all,
Here is my environment:
solaris 2.6
perl 5.6.1
Here are descriptions of the files I am working with:
1) a meta-data text file
2) a creation.pl file
3) a CVS repository
The meta-data file contains information about multiple CVS repository files.
There are hundreds of rows with six co
15 matches
Mail list logo