Re: Has Perl extra memory!?

2002-10-01 Thread Janek Schleicher
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

Problem installing ACTIVEPERL sendmail.pm from PPM

2002-10-01 Thread Bruce Ambraal
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

Re: Has Perl extra memory!?

2002-10-01 Thread Mat Harris
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

mail::Sendmail::error

2002-10-01 Thread Bruce Ambraal
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]

mail::Sendmail::error

2002-10-01 Thread Bruce Ambraal
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.

Re: Has Perl extra memory!?

2002-10-01 Thread Damien Delhomme
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]

Re: Has Perl extra memory!?

2002-10-01 Thread Damien Delhomme
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.

setting curser position (focus)

2002-10-01 Thread Maureen E Fischer
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

RE: setting curser position (focus)

2002-10-01 Thread David Simcik
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:

RE: mail::Sendmail::error

2002-10-01 Thread Bob Showalter
-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

RE: Has Perl extra memory!?

2002-10-01 Thread Bob Showalter
-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

RE: setting curser position (focus)

2002-10-01 Thread Bob Showalter
-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

How to Install Perl 5.8

2002-10-01 Thread Ajay Singh Tomar (RBIN/EDC3) *
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

Re: another regx ...

2002-10-01 Thread John W. Krahn
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

RE: How to Install Perl 5.8

2002-10-01 Thread Timothy Johnson
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

Re: Anyone want to help modify a script?

2002-10-01 Thread Robin Cragg
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

Re: Can someone help me.

2002-10-01 Thread Janek Schleicher
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) =

Re: SQL Table Rows

2002-10-01 Thread Gary Stainburn
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

Perl DBI/DBD Access MDB files...

2002-10-01 Thread Mark Edwards
-- 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

Re: SQL Table Rows

2002-10-01 Thread Felix Geerinckx
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

returning to parent after a fork.

2002-10-01 Thread chad kellerman
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

Perl DBI/DBD Access MDB files...

2002-10-01 Thread Misc1
-- 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

Parse data file

2002-10-01 Thread Matt Simonsen
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

Creating hash?

2002-10-01 Thread Paul and Joann Van Dalen
Hi all, Given an input file that has the following records: 123ABCXX112Zz 123DEFXX113Z 123EEFXX112 Zz 444cccvvbfdc 444CCdvvbfdc 444dddssddd

Re: SQL Table Rows

2002-10-01 Thread Gary Stainburn
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

Reading lines in variable

2002-10-01 Thread Faymon, Kurt
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

RE: Parse data file

2002-10-01 Thread Nikola Janceski
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

Re: Install Question

2002-10-01 Thread zentara
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?

Re: Creating hash?

2002-10-01 Thread Sudarshan Raghavan
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

RE: Creating hash?

2002-10-01 Thread Nikola Janceski
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

RE: Reading lines in variable

2002-10-01 Thread Kipp, James
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.

RE: Reading lines in variable

2002-10-01 Thread Timothy Johnson
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

Re: Reading lines in variable

2002-10-01 Thread Sudarshan Raghavan
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

Re: Creating hash?

2002-10-01 Thread Robin Cragg
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

RE: Creating hash?

2002-10-01 Thread Kipp, James
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

Re: SQL Table Rows

2002-10-01 Thread dan
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.

Re: Parse data file

2002-10-01 Thread Janek Schleicher
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...

Re: remove duplicate lines

2002-10-01 Thread Patricia Hinman
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

RE: Reading lines in variable

2002-10-01 Thread Faymon, Kurt
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

RE: Creating hash?

2002-10-01 Thread Sudarshan Raghavan
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) {

RE: Creating hash?

2002-10-01 Thread Kipp, James
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]

Please help

2002-10-01 Thread Janfek Esquivel
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

newest

2002-10-01 Thread Shirley Frogge
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

RE: newest

2002-10-01 Thread Nikola Janceski
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

Re: remove duplicate lines

2002-10-01 Thread Sudarshan Raghavan
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

HOW TO: Run perl script from CD on machine that does not have perl installed

2002-10-01 Thread Nathan Bigger
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

Is there a searchable archive for this list

2002-10-01 Thread ANIDIL RAJENDRAN
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)

RE: Please help

2002-10-01 Thread Timothy Johnson
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]

Re: How to execute a Perl script from a web page?

2002-10-01 Thread Brady Fausett
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

RE: newest

2002-10-01 Thread Martin Falley
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

Re: Parse data file

2002-10-01 Thread Matt Simonsen
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

Installing Modules into Home Directory

2002-10-01 Thread Balint, Jess
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

Re: Debugging

2002-10-01 Thread Peter Scott
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

Attracting Perl Project Team Members

2002-10-01 Thread James Edward Gray II
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

Re: Is there a searchable archive for this list

2002-10-01 Thread Felix Geerinckx
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]

Re: Creating hash?

2002-10-01 Thread david
Paul And Joann Van Dalen wrote: Hi all, Given an input file that has the following records: 123ABCXX112Zz 123DEFXX113Z 123EEFXX112 Zz 444cccvvbfdc 444CCdvvbfd

Re: Installing Modules into Home Directory

2002-10-01 Thread Paul Johnson
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

Re: returning to parent after a fork.

2002-10-01 Thread david
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

Insertion and Quotes

2002-10-01 Thread Jessee Parker
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

Re: How to execute a Perl script from a web page?

2002-10-01 Thread david
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 - September 2002

2002-10-01 Thread Felix Geerinckx
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

Re: Insertion and Quotes

2002-10-01 Thread Felix Geerinckx
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

Re: Creating hash?

2002-10-01 Thread John W. Krahn
Paul And Joann Van Dalen wrote: Hi all, Given an input file that has the following records: 123ABCXX112Zz 123DEFXX113Z 123EEFXX112 Zz 444cccvvbfdc 444CCdvvbfd

Re: How to execute a Perl script from a web page?

2002-10-01 Thread Brady Fausett
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

RE: How to execute a Perl script from a web page?

2002-10-01 Thread nkuipers
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

Re: How to execute a Perl script from a web page?

2002-10-01 Thread david
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

RE: How to execute a Perl script from a web page?

2002-10-01 Thread Brady Fausett
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

globbed items

2002-10-01 Thread nkuipers
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

Re: globbed items

2002-10-01 Thread Jenda Krynicky
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

Re: How to execute a Perl script from a web page?

2002-10-01 Thread Brady Fausett
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

How to generate all possible combination from a list of number

2002-10-01 Thread Yannik Lefebvre
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]

How to read a list box??

2002-10-01 Thread Janfek Esquivel
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.

Re: How to execute a Perl script from a web page?

2002-10-01 Thread david
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

Re: How to execute a Perl script from a web page?

2002-10-01 Thread James Edward Gray II
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

Re: How to generate all possible combination from a list of number

2002-10-01 Thread Paul Johnson
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

Re: How to generate all possible combination from a list of number

2002-10-01 Thread James Edward Gray II
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

RE: How to generate all possible combination from a list of number

2002-10-01 Thread Mark Anderson
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

Re: globbed items

2002-10-01 Thread david
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

Re: How to read a list box??

2002-10-01 Thread david
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

Re: How to generate all possible combination from a list of number

2002-10-01 Thread david
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

how to use 'open'

2002-10-01 Thread Cacialli, Doug
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

Re: how to use 'open'

2002-10-01 Thread Jenda Krynicky
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;

Re: how to use 'open'

2002-10-01 Thread david
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

Re: Condition Evaluation

2002-10-01 Thread Michael Fowler
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

Re: Or Syntax

2002-10-01 Thread Michael Fowler
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

Re: Permission Problems

2002-10-01 Thread Michael Fowler
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

comment on CGI-SpeedyCGI

2002-10-01 Thread Victor Tsang
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]