12-28-2010
thanks for the link DGPickett. Unfortunately, I don't understand how to connect it with my case, i.e. how to proceed.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We ran into an issue trying to install DBI and DB2 modules for perl for AIX from the link
http://www-306.ibm.com/software/data/db2/perl/
We tried to install the DBI module using
bash# perl -MCPAN -e 'install DBI'
command. However we ended up with the following error.
Stop.
... (3 Replies)
Discussion started by: jerardfjay
3 Replies
2. Solaris
Hi Every one,
I am suing solaris 5.10. i want install perl modules, how insall cn any body help me to install perl Module.. Thank you for your Help
Thanks,
Hari.A. (1 Reply)
Discussion started by: hari.jnvc90
1 Replies
3. Shell Programming and Scripting
Hi All,
I am trying to run the following program
#!/usr/bin/perl
# use module
use XML::Simple;
use Data::Dumper;
# create object
$xml = new XML::Simple;
# read XML file
$data = $xml->XMLin("dump.xml");
# print output
print Dumper($dump);
At first i had the error mesage saying... (5 Replies)
Discussion started by: userscript
5 Replies
4. Shell Programming and Scripting
Hello all,
i am searching how to install a module but the question is :
howto specify CPAN to install a determined version of the module ?
In my case i want to install DBD:Oracle1.14 and not version 1.23 proposed !
Any idea welcome ! :rolleyes:
Thanks ! (1 Reply)
Discussion started by: sun_cracker
1 Replies
5. Shell Programming and Scripting
Hi i was trying to install Text::CSV from cpan... it seemed to have downloaded everythign properly but was not able to run the make file...
do u have any idea as to why this happened??
Install:
=============================
If you install Text::CSV_XS v.0.70, it makes Text::CSV faster.
... (5 Replies)
Discussion started by: VGR
5 Replies
6. Solaris
Here's the deal:
I'm trying to install perl's DBI Module in my Solaris 11 express ( ALSO TRYING IN SOLARIS 10 )
but I'm getting these errors/warnings when using the respective commands
perl Makefile.PL
Warning: prerequisite ExtUtils::MakeMaker 6.48 not found. We have 6.42.
Warning:... (3 Replies)
Discussion started by: alvaradogunner
3 Replies
7. Shell Programming and Scripting
Hi,
I want to install 'Devel-Profile' in windows but i am not able to install.
Here is the error.
PPM> install Devel-Profile
Install package 'Devel-Profile?' (y/N): y
Installing package 'Devel-Profile'...
Error installing package 'Devel-Profile': Could not locate a PPD file for... (3 Replies)
Discussion started by: vanitham
3 Replies
8. Solaris
Hi,
I've been trying to install the perl module DateTime-0.72 onto Solaris 10 server.
# uname -a
SunOS 5.10 Generic_142910-17 i86pc i386 i86pc
but I'm getting the following error:
/export/home/perl-modules/DateTime-0.72/> perl Build.PL
Can't locate Module/Build.pm in @INC (@INC... (4 Replies)
Discussion started by: keatingb
4 Replies
9. Shell Programming and Scripting
Hi,
I am unable to install module using cpan. It says 407 Proxy Authentication Required
I did setup proxy server and given username and password in .bashrc file and apt.conf file.
export http_proxy=http://username:password@proxyserver:portno/
However, still unable to install... (1 Reply)
Discussion started by: Anjan1
1 Replies
10. Shell Programming and Scripting
Hi all ,
There are two datetimes in the below format
$datetime1="2007-12-31 16:50:00";
$datetime2="2008-1-1 04:24:00";
I need to calculate time in minutes only in between the office hours.(08:00 to 18:00 ). in PERL.
For the above requirement I found a module Business::Hours that... (4 Replies)
Discussion started by: scriptscript
4 Replies
LEARN ABOUT PHP
dbx_escape_string
DBX_ESCAPE_STRING(3) 1 DBX_ESCAPE_STRING(3)
dbx_escape_string - Escape a string so it can safely be used in an sql-statement
SYNOPSIS
string dbx_escape_string (object $link_identifier, string $text)
DESCRIPTION
Escape the given string so that it can safely be used in an sql-statement.
PARAMETERS
o $link_identifier
- The DBX link object returned by dbx_connect(3)
o $text
- The string to escape.
RETURN VALUES
Returns the text, escaped where necessary (such as quotes, backslashes etc). On error, NULL is returned.
EXAMPLES
Example #1
dbx_escape_string(3) example
<?php
$link = dbx_connect(DBX_MYSQL, "localhost", "db", "username", "password")
or die("Could not connect");
$text = dbx_escape_string($link, "It's quoted and backslashed (\).");
$result = dbx_query($link, "insert into tbl (txt) values ('" . $text . "')");
if ($result == 0) {
echo dbx_error($link);
}
dbx_close($link);
?>
SEE ALSO
dbx_query(3).
PHP Documentation Group DBX_ESCAPE_STRING(3)