Damien Delhomme wrote at Mon, 30 Sep 2002 23:53:20 +0200:
My script is called by a file .xml with :
!--#exec cgi=/perl/interne/annuaire/assoces_modif.pl --
I don't know much about this xml feature,
but I could imagine that it works like a calling from the command line.
In this
Hi all,
Could some help, see the attached error when attempting to
instal sendmail.pm from PPM
PPM install mail-sendmail
Install package 'mail-sendmail?' (y/N): y
Installing package 'mail-sendmail'...
Error installing package 'mail-sendmail': Could not locate a PPD file for packag
e
i agree, it saounds like a mod_perl caching problem. you can find out if you
are running mod_perl or not by running this little script through apache:
#!/usr/bin/perl
print Content-type: text/html\n\n;
while (($key,$value) = each %ENV) {
print $key=$valuebr;
}
And look
Hi all
what am I doing wrong.
find attach the error.log and the code
thanx in advance
Bruce
start_n2.pl
Description: Binary data
errors1.log
Description: Binary data
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all
What am I doing wrong.
error.log;
[Tue Oct 01 11:09:10 2002] [error] [client 165.25.207.246] [Tue Oct 1
11:09:09 2002] c:\PROGRA~1\APACHE~1\apache\cgi-bin\start_n2.pl: Name
mail::Sendmail::error used only once: possible typo at
c:\PROGRA~1\APACHE~1\apache\cgi-bin\start_n2.pl line 26.
I am definitely running the script through mod_perl. I was pretty sure about
it and your script confirmed it. (see environment.txt)
Now I know this, what can I do about it?
Ti Bruno
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
sorry
- Original Message -
From: Damien Delhomme [EMAIL PROTECTED]
To: Perl ml [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 5:39 PM
Subject: Re: Has Perl extra memory!?
I am definitely running the script through mod_perl. I was pretty sure
about
it and your script confirmed it.
I am trying to figure out how to get the curser to sit at the first
entry field so
the user doesn't have to position it. My application is Perl/CGI. I
have
seen some information about how to do this using javascript. I went
out
and got the O'Reilly book on javascript and it's the size of
onLoad=myfield.focus(); //That's it roughly.
Something to that effect. The onLoad event handler is an attribute in the
Body tag of the page.
-Original Message-
From: Maureen E Fischer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 12:13 PM
To: [EMAIL PROTECTED]
Subject:
-Original Message-
From: Bruce Ambraal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 5:53 AM
To: [EMAIL PROTECTED]
Subject: mail::Sendmail::error
Hi all
What am I doing wrong.
error.log;
[Tue Oct 01 11:09:10 2002] [error] [client 165.25.207.246] [Tue Oct 1
-Original Message-
From: Damien Delhomme [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 11:45 AM
To: [EMAIL PROTECTED]
Subject: Has Perl extra memory!?
Hi everybody!
One of my program generates a HTML formulary whose number of
checkboxes fluctuates (they are
-Original Message-
From: Maureen E Fischer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 1:13 PM
To: [EMAIL PROTECTED]
Subject: setting curser position (focus)
I am trying to figure out how to get the curser to sit at
the first entry field so the user doesn't have
Hello,
I have downloaded and extracted stable.tar from www.cpan.org for version 5.8. I have
older version of Perl i.e., 5.003. How to uninstall and install 5.8 on WinNT?
Regards,
Ajay
-Original Message-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002
John W. Krahn wrote:
my ( $ref, $numt, $id, $ext ) = $PATH[ 7 ] =~ /(\w)-(\d{7})-(\d{2}).(\w+)/;
Sorry, that should be:
my ( $ref, $numt, $id, $ext ) = $PATH[ 7 ] =~ /(\w)-(\d{7})-(\d{2})\.(\w+)/;
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
If you are using WinNT, I would seriously suggest waiting until ActiveState
puts out a stable version of 5.8. Until then I'd stick with ActivePerl
5.6.1 build 633. It really is the most stable version of Perl for all Win32
platforms, and comes with PPM, which is a great way to get started with
Even simpler...
opendir DIR, /logs/test;
@dirs = readdir DIR;
closedir DIR;
foreach (@dirs) {
if ( -d /$_) {
# do your stuff
# Notice that you need to preceed the $_ with the path you
passed to opendir.
}
}
R
At 16:47 30/09/2002 -0500, eric
Bootscat wrote at Tue, 01 Oct 2002 00:10:32 +0200:
I'm setting up a list for free and pro members.
I want the pro members to be able to mail daily. I have this part working.
I want the free members to only be able to mail every 4 Days to the list.
Using the localtime(time) =
On Tuesday 01 Oct 2002 2:53 am, Hengky wrote:
How is it possible to cycle through an SQL table row by row, without
having to increment an ID by 1 in a while loop and go
SELECT * FROM table WHERE id=$id
?
And how can I find out how many rows are in the table?
i hope this one can
--
There are only 10 types of people in the world - Those who understand
binary, and those who don't
Does anyone know if it is possible to access a .mdb file (MS Access)
from perl running on a linux box? I don't have access to a windows box
to serve the files and the DBD:ODBC drivers
on Tue, 01 Oct 2002 10:50:26 GMT, [EMAIL PROTECTED]
(Gary Stainburn) wrote:
Nobody's mentioned:
$countrow=$sth-rows;
This way is more efficient that doing the 'select count(*)' as
it's done from the same select query, and it also means that yo
know beforehand how many rows you will be
Hi,
I was wondering if someone can shed some light on a problem I am
having. I have a sub routine that forks each variable in an array one
at a time. But after the last element in the array the program exists
from the sub routine, it does not continue after the the last element
in the
--
There are only 10 types of people in the world - Those who understand
binary, and those who don't
Does anyone know if it is possible to access a .mdb file (MS Access)
from perl running on a linux box? I don't have access to a windows box
to serve the files and the DBD:ODBC drivers
I need to get 2 fields out of a file which has the following format:
#FIELD
[tab]NAME=name to put into hash[newline]
[tab]DATALINE=value to put with data[newline]
[tab]EXTRA=several fields to ignore...
[NEWLINE]
#NEXTFIELD
[tab]NAME ...
I have thought of a couple ways I *could* do it, but I
Hi all,
Given an input file that has the following records:
123ABCXX112Zz
123DEFXX113Z
123EEFXX112 Zz
444cccvvbfdc
444CCdvvbfdc
444dddssddd
On Tuesday 01 Oct 2002 12:14 pm, Felix Geerinckx wrote:
on Tue, 01 Oct 2002 10:50:26 GMT, [EMAIL PROTECTED]
(Gary Stainburn) wrote:
Nobody's mentioned:
$countrow=$sth-rows;
This way is more efficient that doing the 'select count(*)' as
it's done from the same select query, and it
Simple for some (most), perplexing me:
have a variable, say $Record which contains many lines (actually codes),
like:
p
h
link
ref
So on
How can I roll through the value of the variable, capturing each line and
pushing it onto an array?
Kind like reading entries in a cfg file (one on
and how would you like this info stored? What portions of the info do you
want?
You need to supply us with more information as to what you want to do.
We are good... but we aren't mind readers.
This looks a bit like homework to me, so show us what you got so far and
we'll help.
-Original
On Mon, 30 Sep 2002 20:07:29 -0700, [EMAIL PROTECTED]
([EMAIL PROTECTED]) wrote:
Hi: I have both perl 5.6.1 and perl 5.6.0 on my system.
What're the steps to remove them, and prepare for install of perl 5.8?
When I run locate perl 5.6.0, I get a list of files. Is this the way to
do it?
On Mon, 30 Sep 2002, Paul and Joann Van Dalen wrote:
Hi all,
Given an input file that has the following records:
123ABCXX112Zz
123DEFXX113Z
123EEFXX112 Zz
444cccvvbfdc
444
open(FILE, yourfile) or die can't open $!;
my(%LINES);
while(FILE){
my($key) = split;
$LINES{$key) = $_ unless exists $LINES{$key);
}
close FILE;
# %LINES now has key value pairs of '123' and '444' as the keys and the
value is the first occurence in the file.
-Original
are you saying the variable looks like this?
$Record =
p
h
link
ref
if so, all you need to do is split , not sure what exactly is in your
record, but basically is done with split
@array = split / /, $Record;
again, the split parameter depends on what how $Record is to be parsed.
Assuming that each line of your variable is separated by a \n, you can use
the split() function.
my @array = split /\n/,$variable;
-Original Message-
From: Faymon, Kurt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 5:51 AM
To: [EMAIL PROTECTED]
Subject: Reading lines in
On Tue, 1 Oct 2002, Faymon, Kurt wrote:
Simple for some (most), perplexing me:
have a variable, say $Record which contains many lines (actually codes),
like:
p
h
link
ref
So on
How can I roll through the value of the variable, capturing each line and
pushing it onto an
Hi Paul,
Ihashes would need a little bit of work to work with this, as you will have
multiple entries with the same key, eg you have three lines beginning 123.
if you have all you lines in an array, you could do this:
foreach $line (sort @arry) {
die Invalid input: $line\n unless ($line
and just so you don't try to load any blank lines into the hash and get an
error, throw in a check for blank lines
open (INPUTFILE, $your_input_file) or die Error opening
$your_input_file: $!\n;
my %uniq_hash;
while (INPUTFILE) {
next if /^$/; ## SKIP BLANKS
(my
Hi,
Thanks for all your help. I found the way Jeff wrote:
$sth = $dbh-prepare(SELECT * FROM table);
worked the best for what I wanted my program to do. I've nearly finished
writing my program now, after receiving a great deal of help from you guys
regarding MySQL with perl, how to use it, etc.
Matt Simonsen wrote at Tue, 01 Oct 2002 01:00:41 +0200:
I need to get 2 fields out of a file which has the following format:
#FIELD
[tab]NAME=name to put into hash[newline]
[tab]DATALINE=value to put with data[newline]
[tab]EXTRA=several fields to ignore...
I wanted to do this without completely loading the
page into an array and then checking for duplicates.
So I just inserted some flags into my while statement.
#!/usr/bin/perl -w
$dupli_file = STDIN;
chomp ($dupli_file );
$res_file = STDIN;
chomp ($res_file );
open (DUPLI, ./$dupli_file) or die
Ahsplit. Forgot about that (Perl is new frontier); Split is now my
friend; thanks all.
-Original Message-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 9:14 AM
To: 'Faymon, Kurt'; [EMAIL PROTECTED]
Subject: RE: Reading lines in variable
On Tue, 1 Oct 2002, Kipp, James wrote:
and just so you don't try to load any blank lines into the hash and get an
error, throw in a check for blank lines
open (INPUTFILE, $your_input_file) or die Error opening
$your_input_file: $!\n;
my %uniq_hash;
while (INPUTFILE) {
next if /^$/; ## SKIP BLANKS
should have done that check, thanks for the correction
Actually Nikola's version saves us from needing this check by throwing in
the unless line :-)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a cgi application in which I have a database being read to get some
information displayed on screen, the problem is that information was read by
a text box on a flash, I changed the flash to an HTML with a text box and I
added 2 list boxes which I also want to read at the same time (if
Hi,
I am the newest of beginners!! I have Oracle 8i on Windows XP. Where can I
download Perl? What do I download?
Thanks,
Shirley
begin 666 InterScan_Disclaimer.txt
M0U-502 R,# R.B @26UA9VEN92!T:4@4]SVEB:6QI=EER$-D-OG!O
MF%T92!37-T96US($%N;G5A;!5V5RR!!W-O8VEA=EO;B!#;VYF97)E
http://activestate.com/Products/Download/Register.plex?id=ActivePerl
suggested.
-Original Message-
From: Shirley Frogge [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 10:34 AM
To: Beginners@Perl. Org (E-mail)
Subject: newest
Hi,
I am the newest of beginners!! I
On Tue, 1 Oct 2002, Patricia Hinman wrote:
I wanted to do this without completely loading the
page into an array and then checking for duplicates.
The only case the entire file is read into memory is when all the lines in
the file are unique. But using a hash reduces the number of
I'm trying to setup an autorun process on a CD that will run a perl script and output
to a web browser.
The CD will be used on Win32 machines that do not have Perl installed. The perl
binaries and library
files are on the CD. I have determined that I can run a batch file from the command
I dont find any search option in following site
http://archive.develooper.com/beginners%40perl.org/
Thanks
-
Anidil Patinatiyil Rajendran
Burlingame,California
650 730 8271 (W)
There is a cgi list for cgi questions. You might be able to get better
answers from there. BTW, you might want to use a more specific subject as
well.
-Original Message-
From: Janfek Esquivel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 7:24 AM
To: [EMAIL PROTECTED]
David,
Ok here is a step by step of what I am trying to do.
1- User goes to a web page that has a file upload system on it.
2- User uploads file from their computer to the server via the web page (already built)
3- After file is uploaded another web page is automatically loaded (already
From: Shirley Frogge [mailto:[EMAIL PROTECTED]]
Hi,
Hi
I am the newest of beginners!! I have Oracle 8i on Windows XP.
Where can I download Perl?
What do I download?
use google
Thanks,
Shirley
You're really a beginner:
InterScan_Disclaimer.txt
M0U-502 R,# R.B
On Tue, 2002-10-01 at 05:34, Janek Schleicher wrote:
Matt Simonsen wrote at Tue, 01 Oct 2002 01:00:41 +0200:
I need to get 2 fields out of a file which has the following format:
I put a real clip below ... should be more helpful.
What is the exact data you want to separate.
I have an
Hi all. I have most of the perl modules that I use installed into my home
directory. I am trying to install some that depend on others. This is simple
enough to add a use lib into the Makefile.PL , but I can't seem to figure
out how to set this when running tests. I tried inserting it into the t
In article 007f01c26596$989cd530$0300a8c0@jessee,
[EMAIL PROTECTED] (Jessee Parker) writes:
Is there any way to use the perl debugger to step through a script that
forks a child (step into the child I guess is what I am asking)?
Yes. Run the program in an xterm window and the debugger will
Howdy,
The project I'm working on is getting a little big and I was just
wondering if anyone knows the standard and/or good ways to spread the
word and bring on a few new team members. I do realize that I could
always go with something like Source Forge and I could try posts on
relevant
on Tue, 01 Oct 2002 15:24:40 GMT, Anidil Rajendran wrote:
I dont find any search option in following site
http://archive.develooper.com/beginners%40perl.org/
Try
http://groups.google.com/advanced_group_search?group=perl.beginners
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
Paul And Joann Van Dalen wrote:
Hi all,
Given an input file that has the following records:
123ABCXX112Zz
123DEFXX113Z
123EEFXX112 Zz
444cccvvbfdc
444CCdvvbfd
On Tue, Oct 01, 2002 at 12:33:34PM -0400, Balint, Jess wrote:
Hi all. I have most of the perl modules that I use installed into my home
directory. I am trying to install some that depend on others. This is simple
enough to add a use lib into the Makefile.PL , but I can't seem to figure
out
Chad Kellerman wrote:
Hi,
I was wondering if someone can shed some light on a problem I am
having. I have a sub routine that forks each variable in an array one
at a time. But after the last element in the array the program exists
from the sub routine, it does not continue after
I'm a bit confused on why this is happening and I'm hoping someone can
shed some light on things for me. I read in information from a file which is
comma delimted and I use the parsing routine I found in the Perl Cookbook.
When it hits a name with marks around it, it shifts everything over
Brady Fausett wrote:
David,
Ok here is a step by step of what I am trying to do.
1- User goes to a web page that has a file upload system on it.
2- User uploads file from their computer to the server via the web page
(already built)
3- After file is uploaded another web page is
Monthly posting statistics for perl.beginners - September 2002.
From 2002-09-01 to 2002-09-30 there were
1896 articles posted (87758 lines) by 322 authors, giving an average
5.89 articles per author, and an average article length of 46 lpa.
The average number of articles per day was 63.
There
on Tue, 01 Oct 2002 17:55:21 GMT, Jessee Parker wrote:
I'm a bit confused on why this is happening and I'm hoping
someone can
shed some light on things for me. I read in information from a file
which is comma delimted and I use the parsing routine I found in the
Perl Cookbook. When
Paul And Joann Van Dalen wrote:
Hi all,
Given an input file that has the following records:
123ABCXX112Zz
123DEFXX113Z
123EEFXX112 Zz
444cccvvbfdc
444CCdvvbfd
David,
Sweet, thank you for the information. Where can I find those Docs? I looked on
perldoc.com and was unsuccessful. Thanks again!
Brady
Brady Fausett wrote:
David,
Ok here is a step by step of what I am trying to do.
1- User goes to a web page that has a file upload system on
Where can I find those Docs?
at your prompt (unix) type exactly what David showed you, ie.,
perldoc -f system
;)
Brady Fausett wrote:
David,
Ok here is a step by step of what I am trying to do.
1- User goes to a web page that has a file upload system on it.
2- User uploads file from
Brady Fausett wrote:
David,
Sweet, thank you for the information. Where can I find those Docs? I
looked on perldoc.com and was unsuccessful. Thanks again!
Brady
sorry for not begin clear on this! on the machine where you have Perl
install, type those in the command line:
perldoc
Thanks nkuipers and thanks David! I am reading away was I write this.
Brady
nkuipers [EMAIL PROTECTED] 10/01/02 12:40PM
Where can I find those Docs?
at your prompt (unix) type exactly what David showed you, ie.,
perldoc -f system
;)
Brady Fausett wrote:
David,
Ok here is a step by
Hello all,
While reading the Cookbook, I came across the following on page 357:
If the value assigned to a typeglob is not a reference but itself another
typeglob, then all types by that name are aliased. The types aliased in a
full typeglob assignment are scalarand format.
I have used
From: nkuipers [EMAIL PROTECTED]
While reading the Cookbook, I came across the following on page 357:
If the value assigned to a typeglob is not a reference but itself
another typeglob, then all types by that name are aliased. The types
aliased in a full typeglob assignment are
All,
Or maybe David,
I appologize in advance for my lack of sight and/or insight...
I read those docs. How can I utilize those functions on the web? I am sorry I must
be really dense when it comes to this stuff... I have had the hardest time getting
this to work. I can run my script
Exemple: i have a list of numbers ( 1 - 2 - 3 - 4 -5)
i need to find all possible combination from that list
1
12
123
1234
12345
13
134
1345
etc
Thank u all!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a text file and what I want to know is the instruction to read a text
box and 2 list boxes (at the same time or one at a time) from an HTML, so
with that information, be able to find information on my txt file.
Thanks in advance.
Brady Fausett wrote:
All,
Or maybe David,
I appologize in advance for my lack of sight and/or insight...
I read those docs. How can I utilize those functions on the web? I am
sorry I must be really dense when it comes to this stuff... I have had
the hardest time getting this to
On Tuesday, October 1, 2002, at 02:27 PM, Brady Fausett wrote:
All,
Or maybe David,
I fall in the All category, but I'll try to help.
I appologize in advance for my lack of sight and/or insight...
I read those docs. How can I utilize those functions on the web? I
am sorry I must be
On Tue, Oct 01, 2002 at 03:33:42PM -0400, Yannik Lefebvre wrote:
Exemple: i have a list of numbers ( 1 - 2 - 3 - 4 -5)
i need to find all possible combination from that list
1
12
123
1234
12345
13
134
1345
etc
Are you having problems with the Perl or the algorithm?
If it
So me what you've tried and I will be more than happy to help you fix
it.
James Gray
On Tuesday, October 1, 2002, at 02:33 PM, Yannik Lefebvre wrote:
Exemple: i have a list of numbers ( 1 - 2 - 3 - 4 -5)
i need to find all possible combination from that list
1
12
123
1234
12345
13
This looks like homework, but I'll give you a (one of many, I'd guess)
pseudocode solution:
sub print_combos(str,list) { # note -- PSEUDOCODE
if (empty(list)) {
# if (str != ) # do you want the empty list as an output?
print str;
} else {
x = pop list; #remove an element
Nkuipers wrote:
Hello all,
While reading the Cookbook, I came across the following on page 357:
If the value assigned to a typeglob is not a reference but itself another
typeglob, then all types by that name are aliased. The types aliased in a
full typeglob assignment are scalarand
Janfek Esquivel wrote:
I have a text file and what I want to know is the instruction to read a
text
box and 2 list boxes (at the same time or one at a time) from an HTML, so
with that information, be able to find information on my txt file.
Thanks in advance.
please check out CGI.pm. it
Yannik Lefebvre wrote:
Exemple: i have a list of numbers ( 1 - 2 - 3 - 4 -5)
i need to find all possible combination from that list
1
12
123
1234
12345
13
134
1345
etc
Thank u all!
i found your problem insteresting! the following should solve it:
#!/usr/bin/perl -w
use
Lo,
I apologize if this request is less than coherent.
I'm running Win XP Pro using Perl 5.6.1. I'd like to do this:
open (ACCESSDB, | C:\\Documents\ and\ Settings\\Doug\
Cacialli\\Desktop\\TEST
DATABASE.mdb)
or die Something is amiss: $! \n;
Which starts Access, and requires the
From: Cacialli, Doug [EMAIL PROTECTED]
I apologize if this request is less than coherent.
I'm running Win XP Pro using Perl 5.6.1. I'd like to do this:
open (ACCESSDB, | C:\\Documents\ and\ Settings\\Doug\
Cacialli\\Desktop\\TEST
DATABASE.mdb)
or die Something is amiss: $! \n;
Doug Cacialli wrote:
Lo,
I apologize if this request is less than coherent.
I'm running Win XP Pro using Perl 5.6.1. I'd like to do this:
open (ACCESSDB, | C:\\Documents\ and\ Settings\\Doug\
Cacialli\\Desktop\\TEST
DATABASE.mdb)
or die Something is amiss: $! \n;
Which starts
On Mon, Sep 30, 2002 at 03:50:00PM +0800, [EMAIL PROTECTED] wrote:
I found my mistake: I misread the line number in the error message. DOH!!!
The complaints were related to the block that prints individualized error
messages:
Ok, I'm glad you solved your problem.
CODE
unless (defined
On Tue, Oct 01, 2002 at 10:38:52AM -0500, Lance Prais wrote:
I have one question about you suggestion. From the way it looks you have
Public including all the other partitions.
If the partition is Public the information is appended to all of the
files. This is exactly what your original
On Fri, Sep 27, 2002 at 09:36:41AM -1000, Josh wrote:
I meant that I issued those commands from the command line. So even with
the file owned by nobody and everything is world read/writable I still get
a permission denied error.
What does ls -l on the file output? In your program, what are
Just saw this package on the Oct-2 UsePerl newsletter, would anyone who
tried this share some comment on it? how is the performance compare to
a mod_perl setup?
Thanks.
Tor.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
87 matches
Mail list logo