+Hi+

2010-03-23 Thread garrett esperum
--- _ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/210850553/direct/01/

Re: Database Access Problem (again)

2002-05-02 Thread garrett esperum
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:

Re: Database Access Problem (again)

2002-05-02 Thread garrett esperum
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

Database Access Problem (again)

2002-05-02 Thread garrett esperum
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

string manipulation

2002-05-01 Thread garrett esperum
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

RE: select from oracle and write to file

2002-04-30 Thread garrett esperum
row = $sth->fetchrow_array ) > { > $oid=$row[0]; > > print TEXTFILE"$oid\n"; > > } >$sth->finish(); >$dbh->disconnect(); > > } #end of while loop > >This should work

select from oracle and write to file

2002-04-30 Thread garrett esperum
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-

Re: Writing Dir Names into a File

2002-03-29 Thread garrett esperum
">>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

Writing Dir Names into a File

2002-03-29 Thread garrett esperum
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 = '/

Writing Dir Names into a File

2002-03-29 Thread garrett esperum
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

Completed Script

2002-01-10 Thread garrett esperum
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

Re: V2 Sandbox Creation Script

2002-01-10 Thread garrett esperum
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

Re: V2 Sandbox Creation Script

2002-01-10 Thread garrett esperum
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 >

V2 Sandbox Creation Script

2002-01-10 Thread garrett esperum
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

perl sandbox creation

2002-01-09 Thread garrett esperum
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