I wish that it was that simple. But I don't think it is. I do have the "use DBI;" in my script.
Here is a portion of my script (not all is shown, like the variable assigment):
use DBI;
#################################################################################
# Will have to start...
Thanks for your response Kirsle.
I tried what you said and it seems to be picking up the module. But I still get an error. The module I'm trying to use is DBI. When I execute the script I get the following error:
"Can't locate object method "connect" via package "DBI" (perhaps you forgot...
Hello,
I've created some scripts that install an application on a Solaris box. In my perl scripts I use some modules to connect to the database.
The problem is this script must be run on multiple machines and I DON'T want the end user to have to install these modules before running the perl...
Since it is running on windows you need two backslashes if you want just 1 in the string. And according to the Win32::TieRegistry documentation "\\" is appended to each key name, and "\\" is prepended to the value name.
Therefore there is one set of backslashes for the key name "Tips", and...
I read that section and I saw the part about creating a tied hash first. But then as you read on it says that you can use "$Registry" instead of using a tied hash. Which is what I did in the above script.
But just to make sure that is the case, I tried creating a tied hash (see my new script...
When I run the little script it runs but there is no value for the $jvm_option_value variable. The output of the script is:
"The value in the registry is: "
So the script runs no problem but it isn't reading the value of the registry key. (There is a value for this key when I look through...
Hello all.
I'm trying to read in a value of a registry key using the Win32::TieRegistry module. But I can't seem to get it to work. I even tried the exact examples given in the module information on CPan. Can anybody help? Is there something that I'm missing here?
Below is my script so...
After almost throwing my computer out the window I figured out why I wasn't connecting to the proper database. The reaons is the characters ";" and "=" in the connection string (or DSN if you will) must be URL encoded.
Therefore the character ";" in URL encoded is: %3b
Therefore the...
As far as I understand it yes. But I am new at using Perl so I very well could be wrong.
NOTE; the part of the perl script above that contains the database name isn't quite working. ("databaseName=sqldatabase") I've realized that it isn't actually connecting to the database that I...
Ok here it is.
First you have to install the perl modules DBI, DBD::JDBC (which will require Convert::BER).
The JDBC is really a proxy server, so you have to start up a java server specifying the drivers to use (this is explained in the DBD::JDBC module on cpan)
My java application was...
Hi All,
I'm trying to write a perl script to connect to a MS SQL server using JDBC drivers. I know you can use a module like DBD::Sybase. The reason I want to use JDBC drivers is because I'm already using the perl module DBD::JDBC module to connect to an Oracle database, and this is for the...
That didn't really work either. The picture that I am puting in the >div> tag (which would now be the tiled background) still only shows on the screen relative to the size of the window, not the entire page!!
Have you done a background with two pics before?(RISTMO)
'
maybe this can't be done...
Hey RISTMO,
That worked, but I do have a problem. I can't get the picture to be align at the bottom of the page. It only aligns at the bottom of the window?!?! (know what I mean?) Say, a user has their window 480x640, the picture looks like it's at the bottom, but the user has to scroll the...
Hello,
I have looked up how to put on a background picture so that it isn't tiled etc. (using css), but now my user wants to see if I can put the 1 picture on the background (only once), but also put another desgin (tiled) in the background as well.
Can you put two different pictures in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.