I have to do an Oracle 9 database lookup.
For performance reasons I want to hold the table in an array (its only about 600 rows with 2 small columns)
I have a DB handle.
How do I read...
I would like to merge script 1 and the script 2 into one. So that I could read multiple files from the control file.
Currenlty my control file has only 2 files listed, but in the future it co...
Hi,
Some background - I do a lot of vulnerability scanning, and as part of the remediation, when the server admins which reports they have closed, I usually have to manually 'telnet <ip_addre...
I am using a lot of variables in my Perl script. When loop thru an array and connect to the database and retreive 2 values and store them in variables and for the next value in the array if th...
Hi Experts,
This is a continuous question of
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Q_23287137.html
----------------------------------------
I have the ...
I have written a perl script that can connect to remote servers and report information about scheduled jobs. I am using win32::TaskScheduler to accomplish this.
The last thing I seem to be ...
I need to check the file extension of the file list.
How do I script this to check if it has a .cpp or .h extension?
I have a script that if I run it by adding a grep and sed on the command line
I get what I want, need to fix the script so I don't have to use the
grep and sed.
If I run it this way, ...
Hi,
I've got an array of fields from a database, and I need to search this depending on criteria.
==============================================================
while (($unit, $road, $...
i forgot wiether i use ASCII or binary to transfer perl .cgi and .pl files?
Hi everyone,
I hope this one is pretty easy.
What I want to do is do a recursive copy from
/var/www/html/simeswiki
BUT exclude one folder in the copy
The folder to exclude is
/...
Hi,
I created a webpage the submits a request to connect to a server using SWBemLocator. When I run this script from command prompt , it works fine. but if I use the browser, I get this.
...
I am trying to set parent shell title by calling export variable from the perl script using following
export PROMPT_COMMAND='echo -ne "\033]0;user authentication\007"'
Whenever I call t...
Hi,
I'm trying to get a script i've written in Perl to email me the output of the queries i'm doing on a few sql servers, but for the life of me can't get the mail function to work. I was t...
Hello
I am trying to access the sql server 2005 from the solaris operating system. below is the code which i am using.....
while connecting to the server i am getting following error
D...
We have a Perl script that successfully sends emails to various distribution lists etc. However, we are now trying to send to an address that resolves as an Outlook email folder, with no succe...
Hello:
I have read http://www.experts-exchange.com/Programming/Languages/Scripting/Perl/Q_20102970.html but I am receiving an error that the file size is too large.
The error message is: cou...
I need to get the correct syntax to pass a variable in my perl variable construction.
The following:
my ($sql) = qq{
select [dba primary], [dba backup] from dbo.tbl_SQL_ServerDBInventor...
This should be so simple but is causing a few probs.
I can quite happily issue a sql statement and populate an array from within perl. I can even return a single element array item from one...
I am not quite sure whether I have post this thread in the right forum but here is because it is working with perl script so I am posting it here
What is wrong with this I want to run my ex...
Hi,
I have two files: file1 and file2
content of file1:
joe/1 111 test1
james/2 222 test2
.
.
content of file2:
12345 aaaaa james/2
33333 gdfgf...
I have a script that I'm using to change my database passwords for multiple databases. Most of it works, but I can't seem to get the bind parameters on the $sth->execute statement to work. H...
Hi, I have a Perl script that using DBI (DBD::CSV) to read a CSV file via a SELECT * to and convert it to a Excel file. Script is run on Windows 2003 server.
The script works correctly, but...
I have to troubleshoot a issue and need to modify a perl script to append the output of a command within the perl script to a log file rather than overwrite it. Here is the line I need to cha...
i'm writing a program in perl to populate a database. the code seems to be the way it should, but when i run it, the script does not create a new table. it drops the table but doesn't create...