on Thu, 31 Oct 2002 04:50:43 GMT, [EMAIL PROTECTED]
(Vinai Ar) wrote:
[ Please don't post multipart messages - post text only]
I am entirely new to apache and CGI. Can any one help me out in
making apache server to execute the CGI scripts. The error message
that I got it couldn't spawn
NAME
beginners-faq - FAQ for the beginners-cgi mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to [EMAIL PROTECTED]
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email
Just a feedback...
No, it doesn't work.
The page 1 which sends the password is cached, but when returning from page
3 to the page 2, even though it tells me that the page has expired, if I
press the refresh button, it is printed fine.
And it prints the new modified version from the server,
Jim Lundeen [EMAIL PROTECTED] wrote in message
news:3DBDA799.307DC69A;jimmyjames.net...
nothing that will work on Linux box?
perlcc works... see below.
Admin-Stress wrote:
Nice, but that will produce .exe, executable file for Windows :(
--- David Simcik [EMAIL PROTECTED] wrote:
See
I have a search on my webpage.
I put in keyword and press enter - the value in the textbox is not carried
over, though the search.pl is executed.
But if I press the Submit button, it works with the entered keyword.
I want the enter to work too - it works on the login page.
I wonder what could be
Dan, you might want to post the line in which you call config.cgi.
Are you using 'require'?
cheers,
scott
-Original Message-
From: Palm Optins [mailto:bootscat;bellsouth.net]
Sent: Wednesday, October 30, 2002 2:30 PM
To: [EMAIL PROTECTED]
Subject: Mail Problem
Importance: High
Hello
The newest one (0.7.14.1) but I tried it with an older version (0.7.06) and
I did not get that error.
So I guess I will just use the older one. :-)
-Original Message-
From: Jenda Krynicky [mailto:Jenda;Krynicky.cz]
Sent: Wednesday, October 30, 2002 3:06 PM
To: '[EMAIL PROTECTED]'
You can create an ODBC connection to your Access database and use the
Win32::ODBC module.
-Original Message-
From: Jerry Preston [mailto:g-preston1;ti.com]
Sent: Wednesday, October 30, 2002 3:20 PM
To: Beginners Perl
Subject: ms access perl
Hi!!
Is it possible to access MS access
Hi -
I'm learning
use CGI qw/:standard/;
and in the middle of a form, I want to run some code to generate some
monotonous stuff.
start_form,
'Name: ',textfield('name','',55),br,
'Phone/Fax: ',textfield('phone','',55),br,
'Address:
Hi there!
When I run my perl program I get:
bash: ./checkit.pl: bad interpreter: No such file or directory
What does that mean?
Thanks
/Karin
on Wed, 30 Oct 2002 19:48:24 GMT, [EMAIL PROTECTED] (Guy
Davis) wrote:
I am calling another perl script and it has failed occasionally
from errors that I have not yet tracked down. What I want to do is
grab and store the process id. Then check to see if that process
id is still running at a
on Thu, 31 Oct 2002 08:22:08 GMT, [EMAIL PROTECTED] (Karin
Friberg) wrote:
When I run my perl program I get:
bash: ./checkit.pl: bad interpreter: No such file or directory
What does that mean?
Check your #! line at the top of your program. Does this point to a
valid Perl interpreter?
on Thu, 31 Oct 2002 03:54:23 GMT, [EMAIL PROTECTED] (George Georgalis)
wrote:
and in the middle of a form, I want to run some code to generate
some monotonous stuff.
start_form,
'Name: ',textfield('name','',55),br,
'Phone/Fax: ',textfield('phone','',55),br,
Hi,
try: which perl
at the command prompt, it will reply something like
/usr/bin/perl (the path to perl executable)
then get sure the first line in checkit.pl is
#!/usr/bin/perl -w
or whatever the which command reply.
Regards.
Karin Friberg a écrit :
Hi there!
When I run my perl program I
From: Goodman Kristi - kgoodm [EMAIL PROTECTED]
The newest one (0.7.14.1) but I tried it with an older version
(0.7.06) and I did not get that error.
So I guess I will just use the older one. :-)
Seems I am crazy. Please change the line 55 in Sender.pm from
my
Hi;
When you execute perl script on terminal window (on Linux Redhat),
can we print texts on different colors and be able to set font and its
size?
Thanks. Best regards...
***
Bu elektronik posta ve onunla iletilen bütün
I've installed perl 5.8.0 on Win2000 machine.
Then I downloaded DBI-1.30 from cpan.org website.
when I executed
C:\path\to\DBI-1.30 perl Makefile.PL
C:\path\to\DBI-1.30 nmake
When it was compiling Perl.c it first gave error: The dynamic link library
mspdb60.dll could not be found in the specified
NAME
beginners-faq - FAQ for the beginners mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to [EMAIL PROTECTED]
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email address):
Hi!
I just setup a new server with solaris 8 and installed perl5.6.1 and all
seems to be working great except that I get the following error:
DBD::Oracle initialisation failed: Can't locate auto/DBD/Oracle/ORA_OCI.al
in INC (INC contains:
Where can i find more info on seek(), perldoc does not tell me much. it only
list 3 parameters, where David uses 4 in this code? what do negative values
in the offset represent?
Thanks
#!/usr/bin/perl -w
use strict;
my @character;
my @lines;
open(FH,foo.txt) || die $!;
seek(FH,(-s
.--[ Kipp, James wrote (2002/10/31 at 09:28:23) ]--
|
| Where can i find more info on seek(), perldoc does not tell me much. it only
| list 3 parameters, where David uses 4 in this code? what do negative values
| in the offset represent?
|
| seek(FH,tell(FH)-2,0);
|
I have written a script which is very useful for me day-to-day. It checks
table structure in HTML files. The script is working, but I would
appreciate any comments, especially as to how this can be better written.
Thank you,
Shawn
Code follows:
Thanks. I looked throught Programming perl but did not find much. Ok, I see
i misread the statement and ther are only 3 params. Here is how I read this
statment:
seek(FH,(-s foo.txt)-2,0);
seek back 2 bytes from the end of the file ?
-Original Message-
From: Frank Wiles
I am having trouble updating a row in an access table.
The code below updates the table will the version and update level, however,
I only want to update the row if it exists in the first table? My code
updates every record in the second table.
Please help?
D:\\cats\catversion.mdb
MMBFILT
.--[ Kipp, James wrote (2002/10/31 at 09:53:10) ]--
|
| Thanks. I looked throught Programming perl but did not find much. Ok, I see
| i misread the statement and ther are only 3 params. Here is how I read this
| statment:
| seek(FH,(-s foo.txt)-2,0);
|
| seek back 2 bytes
Hi,
I've started learning Perl a few days ago, but I'm a
computer science student, so I'm not a complete idiot
:)
This is the problem: I'm trying to make a simple 2D
matrix that represents the product of the numbers 1-10
(don't know how to tell it in English, it's that table
that kids learn when
Hello all,
Can anyone tell me how to make this code work, so that, if the record
already exists, just update the values instead of creating a new record?
open(InFile, fuelcrd) || die Can not open file: $!\n;
while(InFile){
chomp;
my ($FuelCrd, $TrkID, $FuelCmp) = split(/,/,$_);
is how I read this
| statment:
| seek(FH,(-s foo.txt)-2,0);
|
| seek back 2 bytes from the end of the file ?
|
Actually when the third argument ( aka WHENCE ) is set to zero it
means Set the new position to the second argument. So it's not
saying Go to the
-Original Message-
From: Gajo Csaba [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 31, 2002 10:29 AM
To: [EMAIL PROTECTED]
Subject: A very, very simple question
Hi,
I've started learning Perl a few days ago, but I'm a
computer science student, so I'm not a complete idiot
make install
and I get an error if I'm not logged in with admin rights...
What change do I need to put in Makefile.PL such that files won't get copied to
'/Library/Perl/Darwin' by 'make install' , but instead just go (stay) in current dir?
-
Do you
.--[ sean finnigan wrote (2002/10/31 at 07:58:48) ]--
|
| make install
|
| and I get an error if I'm not logged in with admin rights...
|
| What change do I need to put in Makefile.PL such that files won't
| get copied to '/Library/Perl/Darwin' by 'make install' , but
At 08:06 AM 10/31/02, you wrote:
One way.
? Of the 3 fields which is unique field..I'll assume FuelCrd..
after ..print $FuelCrd, $TrkID, $FuelCmp\n; .insert
this
my ($check) = $dbh-selectrow_array (SELECT fuelCrd FROM cardlock WHERE
fuelCrd = ?,
Hi all, I have been struggling with the following problem. I have a file
that looks as it follows:
5 .
6 .
7 H
8 H
9 H
10 E
11 E
12 .
13 .
and I want to write something like this:
from 5 to 6 .
from 7 to 9 H
from 10 to 11 E
from 12 to 13 .
I have a file that looks like
0
232,32387,2323
I am only interested in the last set of digits on the second line. My plan
was to split on coma and take the 3 element of the array. I am having problems
skipping the fist line. Any assistance would be appreciated.
Chuck Belcher
open (F, $file) or die can't open $!\n;
while ($line = IN) {
next if $. == 0; # first line is skipped
# do stuff with next line
}
-Original Message-
From: [EMAIL PROTECTED]
[mailto:Charles.Belcher;mercantile.net]
Sent: Thursday, October 31, 2002 12:22 PM
To: [EMAIL
Correctition: record number should be 1 not 0
try this version:
open (F, $file) or die can't open $!\n;
while ($line = F) {
next if $. == 1; # first line is skipped
# do stuff with next line
}
-Original Message-
From: Kipp, James
Sent: Thursday, October 31, 2002
open(FH,your_file.txt) || die $!;
my @tmp = readline(*FH); #this will read each line in your file
my @second_row = split(/,/,join('',$tmp[1]),\n); #just look at the
second row
print($second_row[2]); #third element in array
close(FH);
-Original Message-
From: [EMAIL
and the @INC is only for runtime, nothing to do with paths at install time,
correct? Mucho apreció, amigo.
Frank Wiles [EMAIL PROTECTED] wrote:.--[ sean finnigan wrote (2002/10/31 at
07:58:48) ]--
|
| make install
|
| and I get an error if I'm not logged in with admin
Try this:
#!/usr/bin/perl
use strict;
my $file=$ARGV[0];
open(FH,$file) || die can not open file named $file for reading\n;
#Init stuff
my $current_line=FH;
my ($from,$prev_key)=split /\s+/,$current_line;
my $prev_to=$from;
#Go
while($current_line=FH){
my
That figures... I always use su when i type make install.
Can't you do the same?
Yes, but this is part of an devtool want to ship for MacOSX Cocoa folks. The idea of
expecting the users of a Cocoa application to know anything about the Unix back-end to
MacOSX is quite possibly beyond their
At 12:04 AM 10/26/2002 +0200, Jenda Krynicky wrote:
From: Robert Citek [EMAIL PROTECTED]
This sounds like something that perl should be able to handle by
changing the locale so that you do not have to alter the source file.
I hope NOT! This would break tons of modules!
Perhaps. But then
Has anyone seen a module that will help me output a document in Microsoft
Word format? Any hint in the right direction will be greatly appreciated.
Thanks,
Chris
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
While I'm at silly questions, I guess I could ask this one
too: what is the difference between a and a ' '. I have
a book that explains it to me in one sentence, and I don't
understand one word that the author's using (I suck at
English), so could someone explain it to me? An example
would
Permission denied at /System/Library/Perl/ExtUtils/Install.pm line 62
Error 255
Frank Wiles wrote:.--[ sean finnigan wrote (2002/10/31 at 07:58:48) ]--
|
| make install
|
| and I get an error if I'm not logged in with admin rights...
|
| What change do I need to put in Makefile.PL
.--[ sean finnigan wrote (2002/10/31 at 11:20:20) ]--
|
| Permission denied at /System/Library/Perl/ExtUtils/Install.pm line 62
| Error 255
|
| .--[ sean finnigan wrote (2002/10/31 at 07:58:48) ]--
| |
| | make install
| |
| | and I get an error if I'm not
let's suppose
$variable = some text;
print $variable\n; # prints: some text
print '$varibale\n'; # prints: $variable\n
get it?
double quotes interpolate - expands variables and special characters.
single quotes do not interpolate - it's all just plain text don't think of
them as variables or
.--[ Gajo Csaba wrote (2002/10/31 at 20:19:43) ]--
|
| While I'm at silly questions, I guess I could ask this one
| too: what is the difference between a and a ' '. I have
| a book that explains it to me in one sentence, and I don't
| understand one word that the author's
take a look at Win32::OLE. not sure but it is woth a look
-Original Message-
From: Chris Rogers [mailto:chris.rogers;vifanusa.com]
Sent: Thursday, October 31, 2002 2:18 PM
To: '[EMAIL PROTECTED]'
Subject: Looking for module
Has anyone seen a module that will help me output a
Hello Aman,
That sounds like a problem with your browser but without more info and
some code samples, I can't offer further suggestions.
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications Database Integration
http://www.knowmad.com
--
To unsubscribe, e-mail:
u are trying to creat amulti dimentional array i guss but perl does not have
multi dymenctional arrays u will have to use referances (read perldoc
perlref)
here is an simpal exampal
my @table;
for ($c=1;$c11;$c++){
my @ta;
$table[++$#table] = \@ta; #*** type perldoc prelref
use this querry
'update tablename set fieldname1=newvalue1,fieldname2=newvalue2 where
somefield=something'
- Original Message -
From: Scott Taylor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 9:34 PM
Subject: SQL table updates
Hello all,
Can anyone
Hello All,
The Code in question:
print $name $in$total \n;
Output:
Jon Doe 12000 15
Mr. Ihavealongname 15000 20
I want it to look like this
Jon Doe 12000 15
Mr. Ihavealongname 15000 20
could you explain any solutions you might haveI'm
actually it gives you an error :)
You misspelled variable!
You made a boo...boo
I know bad Halloween humor
If you set the examples...
you don't have to set the rules
Royce Wells
Unix Systems Engineer
let's suppose
$variable = some text;
print
printf()
-Original Message-
From: [EMAIL PROTECTED] [mailto:bengleto;calpoly.edu]
Sent: Thursday, October 31, 2002 2:34 PM
To: [EMAIL PROTECTED]
Subject: howdo I make output from a print statement look pretty?
Hello All,
The Code in question:
print $name $in$total \n;
.--[ [EMAIL PROTECTED] wrote (2002/10/31 at 11:34:19) ]--
|
| Hello All,
|
| The Code in question:
| print $name $in$total \n;
|
| Output:
|
| Jon Doe 12000 15
| Mr. Ihavealongname 15000 20
|
| I want it to look like this
|
| Jon Doe
From: Robert Citek [EMAIL PROTECTED]
At 12:04 AM 10/26/2002 +0200, Jenda Krynicky wrote:
From: Robert Citek [EMAIL PROTECTED]
This sounds like something that perl should be able to handle by
changing the locale so that you do not have to alter the source
file.
I hope NOT! This would
First you will need to check if the record is already there
assuming FuelCrd is the unique value in the table (cardlock)
'SELECT FuelCrd FROM cardlock WHERE FuelCrd = $FuelCrd';
if the SELECT does return a value then the record is there.
In this case you will need issue an UPDATE statement
Thanks, but that won't work on a linux box (will it?)
-Original Message-
From: Kipp, James [mailto:James.Kipp;mbna.com]
Sent: Thursday, October 31, 2002 2:30 PM
To: 'Chris Rogers'; '[EMAIL PROTECTED]'
Subject: RE: Looking for module
take a look at Win32::OLE. not sure but it is woth a
no, sorry did not know you were working on a linux box
-Original Message-
From: Chris Rogers [mailto:chris.rogers;vifanusa.com]
Sent: Thursday, October 31, 2002 3:10 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Looking for module
Thanks, but that won't work on a linux box (will it?)
Dear Jose,
thanks a lot for your solution. Also after burning my head I found my
own solution (shown below). However I if use the switch -w I got a
message saying Use of uninitialized value at .., I do not why.
cheers,
Pedro
#!/bin/perl -w
use strict;
my (@array, @array2, %hash, $i, $j, $key);
your right. My apolgies.
How is this:
printf(%-20s%5s %6s\n, $name, $in, $total);
might have to adjust somewhat, the first string is lef justifed with the
'-'.
-Original Message-
From: Nikola Janceski [mailto:nikola_janceski;summithq.com]
Sent: Thursday, October 31, 2002 2:48 PM
Not being a Mac OS X user, is /System/Library/Perl the default library location?
Perl -V #shows @INC to be:
/System/Library/Perl/Darwin
/System/Library/Perl
/Library/Perl/Darwin
/Library/Perl
/Library/Perl
/Network/Library/Perl/Darwin
/Network/Library/Perl
Do I need to edit the LIB entry
Howdy:
How do I access a DB/2 database from a perl script?
I have DB/2 version 6.1.1 on an MVS mainframe and I'm
trying to connect from a RedHat Linux box. I imagine that I
need the DBI modules, though.
What else do I need to connect to the mainframe database?
What syntax do I use?
Thanks!
-X
I am trying to use the Thread module but I get the following error:
Can't locate Thread.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
From: Jessee Parker [EMAIL PROTECTED]
I am trying to use the Thread module but I get the following error:
Can't locate Thread.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux
.--[ sean finnigan wrote (2002/10/31 at 12:57:11) ]--
|
| Not being a Mac OS X user, is /System/Library/Perl the default
| library location?
|
| Perl -V #shows @INC to be:
|
| /System/Library/Perl/Darwin
| /System/Library/Perl
| /Library/Perl/Darwin
|
Sorry, I left that part out... the install path is my home dir. perl Makefile.PL
PREFIX=/users/sean/MathSystem/
make
make install ..which errs when it tries to mkdir
/Library/Perl/darwin/auto/MathSystem/
Frank Wiles [EMAIL PROTECTED] wrote:
No you shouldn't need to edit the Makefile.PL. I
On 10/31, Gajo Csaba said something like:
I've started learning Perl a few days ago, but I'm a
computer science student, so I'm not a complete idiot
:)
Do you really want to sub print?
sub print
{
etc...
--
Shawn Leas
[EMAIL PROTECTED]
Right now I'm having amnesia and deja-vu at the
I know when you fork() a process the child is a duplicate of the parent, but
does the forked copy have the same priority and time slice assigned to it or
is it brand new?
Jessee
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a few ideas that may help:
Try making it so when page one loads the password form to fill out, it
includes a 'hidden' input type with a token value. (For this situation, it
won't matter that it is not really hidden when users view the HTML source if
your worried about that.)
What it
Try
http://snake.cs.tu-berlin.de:8081/~schwartz/pmh/
Alfred Vahau
Uni. PNG
-
Has anyone seen a module that will help me output a document in
Microsoft
Word format? Any hint in the right direction will be greatly
appreciated.
Thanks,
Chris
--
To unsubscribe, e-mail:
Please help!!! I'm trying to complete an assignment to determine the number of
HTML tags within a string at each level of nesting. ie: for the string
pstronga/strongab/a/p
p is at level 0
strong and a are at level 1
etc...
My code is below. The problem is that apparently my RegEx is
Please help!!! I'm trying to complete an assignment to determine the number
of HTML tags within a string at each level of nesting. ie: for the string
pstronga/strongab/a/p
p is at level 0
strong and a are at level 1
etc...
My code is below. The problem is that apparently my RegEx is
Please help!!! I'm trying to complete an assignment to determine the number of HTML
tags within a string at each level of nesting. ie: for the string
pstronga/strongab/a/pstrongcitalicdae/a/italic/strong
p is at level 0
strong and a are at level 1
etc...
My code is below. The problem is
I have a search on my webpage.
I put in keyword and press enter - the value in the textbox is not carried
over, though the search.pl is executed.
But if I press the Submit button, it works with the entered keyword.
I want the enter to work too - it works on the login page.
I wonder what could be
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Please help!!! I'm trying to complete an assignment to determine the number
of HTML tags within a string at each level of nesting. ie: for the string
pstronga/strongab/a/pstrongcitalicdae/a/italic/strong
p is at level 0
strong and a are at
Is anyone aware of any WIN perl modules that can scan a directory and tell
you which file is being used by which process. Or all files opened by all
processes ??
Thanx in Advance,
Mark
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've just uploaded a new module to my pages at
http://Jenda.Krynicky.cz
It should help you create Windows services.
If your service only needs to wake up once every N minutes all you
need is to tell Win32::Daemon::Simple how to name it, what account to
install it under, what parameters you
78 matches
Mail list logo