Jayakumar Rajagopal wrote:
> Hi all,
>I have to use PERL to run ".sql" files
No you don't. When I was in Oracle class, nobody even knew what Perl was, and we ran
scripts directly at the
prompt. I think you are getting your interfaces mixed up here. Perl is called from a
shell of the
--- WC -Sx- Jones <[EMAIL PROTECTED]> wrote:
> Mike Ni wrote:
>
> > Thanks for the response.
> > Is there any connection between "CONTENT_LENGTH" &
> > "query_string"?
> >
>
> No. Why do you ask?
>
I am not clear why we need CONTENT_LEGTH.
I thought the CONTENT_LENGTH is designed to tell
me
Mike Ni wrote:
Thanks for the response.
Is there any connection between "CONTENT_LENGTH" &
"query_string"?
No. Why do you ask?
--
_Sx_ http://youve-reached-the.endoftheinternet.org/ _
perldoc -qa.a | perl -lpe '($_)=m("(.*)")' | grep Martian
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
"Nilay Puri, Noida" wrote:
> Hi All,
>
> On sparc m/c SUN OS 5.8 , I have recently upgraded from Oracle 8i to Oracle
> 9i.
>
> ANd I had DBD:Oracle 1.12 installed on it.
>
> Now the perl files give error :
> DBI->connect(hemdadev) failed: ERROR OCIEnvInit at test.pl line 18
>
> And at line 17 I ha
--- WC -Sx- Jones <[EMAIL PROTECTED]> wrote:
>
> Everything after the ? is the query_string for a get
> (POST is somewhat different.)
>
> For example - See:
>
http://insecurity.org/cgi/cgi_reflect.cgi?ImAStringQuestioningMe
>
> Not sure where I got that one - somewhere on the
> Internet...
>
Mike Ni wrote:
Hey Everyone,
Do we know where I can get a clear definition
of "query_string"?
What are included by the "query_string"
returned by the apache web server?
Everything after the ? is the query_string for a get
(POST is somewhat different.)
For example - See:
http://insecurity.org
Hey Everyone,
Do we know where I can get a clear definition
of "query_string"?
What are included by the "query_string"
returned by the apache web server?
Thanks! Mike
__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.c
Hello All,
I went through all the documentation and previous mail posts about
File::Find and finally decided I needed some help.
I've a directory structure I need to parse. The directory contains
subdirectories with filenames such as
full094382.db
full483292.db
Now, I need to parse through eac
From: "B. Fongo" <[EMAIL PROTECTED]>
> Is it recommendable to use the pragma "use lib " when installing a
> program on a server shared by many users? Assuming my IPS did not
> install certain CPAN modules which my needs, and I decide to install
> them in my www directory. In such a scenario, putti
Is it recommendable to use the pragma "use lib " when installing a
program on a server shared by many users?
Assuming my IPS did not install certain CPAN modules which my needs, and
I decide to install them in my www directory.
In such a scenario, putting "use lib" on my scripts will add my modu
s
>
> The module CGI::Base isn't available on CPAN.
>
> Either the module has not yet been uploaded to
> CPAN, or it is
> temporary unavailable. Please contact the author
> to find out
> more about the status. Try 'i CGI::Base'.
> !
>
> --
> Owen
>
Hey Owen,
I am sure I follow.
On Tuesday 23 March 2004 11:18 am, Rob Torres wrote:
> Hello,
> I am writing a simple perl script to count the # of characters in a given
> field. At the command line I can write >>wc -m somefile.txt, and get the
> total character count. But in the script I am splitting a text file and
> then doi
From: WC -Sx- Jones <[EMAIL PROTECTED]>
> Jenda Krynicky wrote:
>
> > sub PolishHTML {
> > my $str = shift;
> > if ($AllowXHTML) {
> > $str =~
>
> > http://Jenda.Krynicky.cz/#Jenda.Rex COM object.
> >
>
> Hi, thx for the reply :) As always your code
> leaves me wondering
On Mar 23, 2004, at 3:18 PM, Rob Torres wrote:
Hello,
I am writing a simple perl script to count the # of characters in a
given
field. At the command line I can write >>wc -m somefile.txt, and get
the
total character count. But in the script I am splitting a text file
and
then doing a count o
Hello,
I am writing a simple perl script to count the # of characters in a given
field. At the command line I can write >>wc -m somefile.txt, and get the
total character count. But in the script I am splitting a text file and
then doing a count on an element of the array.
code snippet:
**
On Mar 23, 2004, at 1:51 PM, juman wrote:
That solved my problem :-)
Thanks for the help I probably put toomuch thought into solving this
simple thing ;-)
Glad to hear it. If you learned something, it was worth the effort.
Next time though, post your code so we can help guide you to what you
That solved my problem :-)
Thanks for the help I probably put toomuch thought into solving this
simple thing ;-)
/juman
On Tue, Mar 23, 2004 at 01:29:42PM -0600, James Edward Gray II wrote:
> On Mar 23, 2004, at 1:23 PM, juman wrote:
>
> >Okay thanks :)
> >
> >Here is a code snippet :
> >
> >
On Mar 23, 2004, at 1:23 PM, juman wrote:
Okay thanks :)
Here is a code snippet :
if ($nr == $quiz_id{"$quizzer"}) {
$window->print ("Id answer : $reply", MSGLEVEL_NEVER) if
($window);
$exit = 0;
} elsif ( '$question' == '$quiz_question{"$quizzer"}' ) {
Okay thanks :)
Here is a code snippet :
if ($nr == $quiz_id{"$quizzer"}) {
$window->print ("Id answer : $reply", MSGLEVEL_NEVER) if
($window);
$exit = 0;
} elsif ( '$question' == '$quiz_question{"$quizzer"}' ) {
$window->print ("Quiz answer : $re
srebecchi <[EMAIL PROTECTED]> wrote:
:
: I am working with a couple of program that were in a SAMS
: 24 hour book. They create html forms that are used to
: enter data and then save the input to a text file. Another
: displays a list of the created files for selection and
: viewing using html href
There are any number of modules on CPAN that might help you
accomplish that, like maybe
http://search.cpan.org/~tscanlan/NetworkInfo-Discovery-0.12/lib/NetworkI
nfo/Discovery/Scan.pm or it's brethren. Or roll your own with
IO::Socket. I recommend search.cpan.org.
But dependi
On Mar 23, 2004, at 11:08 AM, juman wrote:
Okey here we go :)
I have a text string that can be looking something like this :
Language: French -> Swedish: Fille ?
And then I have another text that can look just about like anything and
I want to compare the two strings. But the symbols > and ? ma
[EMAIL PROTECTED] wrote:
this does have to run on multiple servers so that is a concern, but all
servers are identical in everyway
This is where Yoda sez: "So sure are you?"
--
_Sx_ http://youve-reached-the.endoftheinternet.org/ _
perldoc -qa.a | perl -lpe '($_)=m("(.*)")' | grep Martian
--
On Mar 23, 2004, at 9:12 AM, [EMAIL PROTECTED] wrote:
>> Hello,
>>
>> I have some code that is using backticks, executing commands on the
>> korn
>> shell.(if that matters). Most work as expected and i get the output
>> of the
>> shell command assigned to the variable left of the argument, like
On Mar 23, 2004, at 10:07 AM, juman wrote:
Hmmm this just seems to return 1. Doesn't m/ just meen to match the
expression?
Yes it does and yes it does. Give me an example of how you were using
this data in your script and I'll show you how it relates. ;)
James
--
To unsubscribe, e-mail: [EMAI
Hmmm this just seems to return 1. Doesn't m/ just meen to match the
expression?
/juman
On Tue, Mar 23, 2004 at 09:40:42AM -0600, James Edward Gray II wrote:
> On Mar 23, 2004, at 9:32 AM, juman wrote:
>
> >Not sure I understand what you say here...
> >
> >Should I do this then?
> >
> >$data = "q
Bob,
Thanks. Your guess is right. okay, I would run stmt by stmt.
thanks,
Jay
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 10:55 AM
To: Jayakumar Rajagopal; [EMAIL PROTECTED]
Subject: RE: $dbh->do('[EMAIL PROTECTED]')
Jayakumar Rajag
Ron Goral wrote:
> Sorry, not sure what "bottom post" means.
It means posting your new material below that which you are responding to,
rather than at the top of the message. Lots of folks (me included) find this
makes the thread easier to follow. Others disagree.
If you use Outlook or Outlook Ex
> Hello,
>
> I have some code that is using backticks, executing commands on the korn
> shell.(if that matters). Most work as expected and i get the output
of the
> shell command assigned to the variable left of the argument, like with
this
> ls command and 'db2 connect' command.
>
> $is
Jayakumar Rajagopal wrote:
> Hi all,
>I have to use PERL to run ".sql" files ( for eg.
> runstmts.sql), which I do this way in SQL prompt :
>
> SQL> @runstmts
I'm guessing Oracle sqlplus?
>
> I tried using $dbh->('[EMAIL PROTECTED]') and $dbh->('start
> runstmts.sql')... bu
Hi all,
I have to use PERL to run ".sql" files ( for eg. runstmts.sql), which I do this
way in SQL prompt :
SQL> @runstmts
I tried using $dbh->('[EMAIL PROTECTED]') and $dbh->('start runstmts.sql')...
but says 'invalid SQL stmt'.
please help.
thanks,
JAy
--
I've got a few Linux boxes on a LAN. I need to develop a gui app to start
processes on any machine from a master pc. What process is to be started
and when will be specifed by the user through the gui. I'm thinking along
the lines of a Perl/Tk script that uses the Proc::Background module to
invo
On Mar 23, 2004, at 9:32 AM, juman wrote:
Not sure I understand what you say here...
Should I do this then?
$data = "question?"
$newdata = m/\Q$data\E/
I believe you meant:
$newdata =~ m/\Q$data\E/;
Hope that helps.
James
Because I couldn't get that to work?
/juman
On Tue, Mar 23, 2004 at
Not sure I understand what you say here...
Should I do this then?
$data = "question?"
$newdata = m/\Q$data\E/
Because I couldn't get that to work?
/juman
On Tue, Mar 23, 2004 at 09:03:15AM -0600, James Edward Gray II wrote:
> On Mar 23, 2004, at 8:54 AM, juman wrote:
>
> >I have a script that
Ron Goral wrote:
Sorry, not sure what "bottom post" means.
-Original Message-
From: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 9:05 AM
To: Ron Goral; Perl Beginners
Subject: RE: Locatiing Self-Installed Modules
Please bottom post...
This is called bottom po
On Mar 23, 2004, at 9:12 AM, [EMAIL PROTECTED] wrote:
Hello,
I have some code that is using backticks, executing commands on the
korn
shell.(if that matters). Most work as expected and i get the output
of the
shell command assigned to the variable left of the argument, like with
this
ls comma
Sorry, not sure what "bottom post" means.
> -Original Message-
> From: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 23, 2004 9:05 AM
> To: Ron Goral; Perl Beginners
> Subject: RE: Locatiing Self-Installed Modules
>
>
> Please bottom post...
>
> > Hmm. Thank you. I d
Hello,
I have some code that is using backticks, executing commands on the korn
shell.(if that matters). Most work as expected and i get the output of the
shell command assigned to the variable left of the argument, like with this
ls command and 'db2 connect' command.
$is_dump = `ls $root_
Please bottom post...
> Hmm. Thank you. I did not make it clear that if this is installed on
> another domain, I will not know exactly where the modules are installed,
> except that they will be in the cgi-bin. Outside of that, I cannot be
> certain of where they are. Hence, I thought, the nee
On Mar 23, 2004, at 8:54 AM, juman wrote:
I have a script that handles some text strings. The textstrings in them
self I can't control so they can contain characters as ?:>< etc which
makes them hard to check through a regexp. So I want to replace alla
characters like this:
question? => \q\u\e\s\t
juman wrote:
I have a script that handles some text strings. The textstrings in them
self I can't control so they can contain characters as ?:>< etc which
makes them hard to check through a regexp. So I want to replace alla
characters like this:
question? => \q\u\e\s\t\i\o\n\?
I'll give you a hint:
I have a script that handles some text strings. The textstrings in them
self I can't control so they can contain characters as ?:>< etc which
makes them hard to check through a regexp. So I want to replace alla
characters like this:
question? => \q\u\e\s\t\i\o\n\?
Hopefully that would make things
Hmm. Thank you. I did not make it clear that if this is installed on
another domain, I will not know exactly where the modules are installed,
except that they will be in the cgi-bin. Outside of that, I cannot be
certain of where they are. Hence, I thought, the need for the functionality
of some
> On Mon, 22 Mar 2004 22:54:13 -0800 (PST)
> Mike Ni <[EMAIL PROTECTED]> wrote:
>
>
> > > If perldoc CGI::Request or perldoc CGI::Base
> > > doesnt tell you anything the only place left
> > > is the source code of each.
>
> Not having either of those modules I tried an install from cpan
>
> G
Jenda Krynicky wrote:
sub PolishHTML {
my $str = shift;
if ($AllowXHTML) {
$str =~
http://Jenda.Krynicky.cz/#Jenda.Rex COM object.
Hi, thx for the reply :) As always your code
leaves me wondering if I will ever learn Perl :)
I tested the code and it works great - except I
am having troub
Owen wrote:
cpan> i /CGI::Base/
Module CGI::Base
Module CGI::BasePlus
IIRC any module that ends with PLUS
is a CPANPlus Only module
You need CPANPlus to install it.
--
_Sx_ http://youve-reached-the.endoftheinternet.org/ _
perldoc -qa.a | perl -lpe '($_)=m("(.*)")' | gr
urvashi mishra <[EMAIL PROTECTED]> wrote:
:
: i am trying to take input from multiple files
: Various I/P files are specified at command line...
:
: Can anyone tell me how to pass the file name to a
: routine that opens it for parsing
:
: the same function is to be called for all the
> "Paul" == Paul Johnson <[EMAIL PROTECTED]> writes:
Paul> Claude said:
>> Hello,
>>
>> I tried to create a test suite file containing the following code:
>>
>> -- clip ---
>> #! /usr/local/bin/perl
>>
>> use strict;
>> use Test::Harness qw( &runtests $verbose );
>> $verbose=1;
>> m
From: WC -Sx- Jones <[EMAIL PROTECTED]>
> Comments about how to perform these
> 5 checks as ONE TEST are welcome -
>
> /\s+\w+\\w+\s+/ REJECT Invalid HTML Spam vG
> /\s+\w+\\w+\s+/ REJECT Invalid HTML Spam vJ
> /\s+\w+\\w+\s+/ REJECT Invalid HTML Spam vK
> /\s+\w+\\w+\s+/ REJECT Invalid HTML Spam
Hi All,
On sparc m/c SUN OS 5.8 , I have recently upgraded from Oracle 8i to Oracle
9i.
ANd I had DBD:Oracle 1.12 installed on it.
Now the perl files give error :
DBI->connect(hemdadev) failed: ERROR OCIEnvInit at test.pl line 18
And at line 17 I have : $dbh = DBI->connect("DBI:Oracle:$sid",$u
On Mon, 2004-03-22 at 18:04, Guay Jean-SÃbastien wrote:
> Hello Mike,
>
> > $row=$dbh->prepare("SELECT contact_id,first_name,last_name,organisation
> > FROM tb_contacts WHERE organisation ILIKE ?");
>
> [...]
>
> > while(($id,$first_name,$last_name,$organisation) = $row->fetchrow_array())
> {
>
hi;
i am trying to take input from multiple files
Various I/P files are specified at command line...
Can anyone tell me how to pass the file name to a
routine that opens it for parsing
the same function is to be called for all the I/P
files...
Code is:
foreach my $file (@ARGV)
{
Hi all: I am working with a couple of program that were in a SAMS 24 hour
book. They create html forms that are used to enter data and then save the
input to a text file another display a list of the created files for
selection and viewing using html herf links.
The first program generates a dat
53 matches
Mail list logo