Re: Variable question

2002-04-06 Thread John W. Krahn
Aman Cgiperl wrote: > > Execute the following on cmd line as follows > $./cnt.pl , > You can replace the comma (,) on the command line to find any other > character's occurrence in the string > ___ > #!/usr/bin/perl > > for(;$i $str[i] = substr($ARGV[0],$i,1); >

RE: Variable question

2002-04-06 Thread aman cgiperl
Execute the following on cmd line as follows $./cnt.pl , You can replace the comma (,) on the command line to find any other character's occurrence in the string ___ #!/usr/bin/perl for(;$imailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 11:53 AM To: [EMAIL PROTECTED]

How to refresh browser

2002-04-06 Thread Leon
Hi, Whats the code for refreshing a browser assuming the url to be refreshed is http://www.perl.com/ Thanks _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

foreach

2002-04-06 Thread Matthew Harrison
I have a database table that I am querying through DBI. The field I want to fetch could be field1 x 200 records. I need these fields to populate a drop-down html menu. The field I am grabbing is the name field for a list of people. I want to get the name field for every record. These names wil

Re: perl-modules

2002-04-06 Thread drieux
On Saturday, April 6, 2002, at 11:43 , Robert Brandtjen wrote: [..] >> plan A: rebuild perl to be 5.6.0 aware >> >> plan B: >> >> PERLLIB=/usr/lib/perl5/5.6.0:/usr/lib/perl5/site_perl/5.6.0 >> export PERLLIB > > > even after running that i get : > This is perl, v5.6.1 built for i386-linux

autobundle issues - RH 7.2

2002-04-06 Thread Robert Brandtjen
Ok, I constructed a snapshot of my installed perl mods, now when I attempt to update using: perl -MCPAN -e 'install Bundle::Snapshot_2002_04_06_00' I get: Checksum for yes/sources/authors/id/T/TL/TLOWERY/DBD-ADO-2.4.tar.gz ok Scanning cache yes/build for sizes gzip: yes/sources/authors/id/T/TL/

Re: bounceback filter script

2002-04-06 Thread Moonlit Submit
Hi, Now I'm getting this error: Content-type: text/html Software error: Server error: 503 5.0.0 Need RCPT (recipient) How do I fix that? Lisa >From: "Jenda Krynicky" <[EMAIL PROTECTED]> >To: "Moonlit Submit" <[EMAIL PROTECTED]>, >[EMAIL PROTECTED] >Subject: Re: bounceback filter s

Re: perl-modules

2002-04-06 Thread Robert Brandtjen
drieux wrote: > I bet you ran into the same thing I just noticed - namely > that your version of perl when you run perl -V, does not > happen to have any reference to > > /usr/lib/perl5/5.6.0 > > at all, which is where your previously installed packages are > > plan A: rebuild perl to be

Re: bounceback filter script

2002-04-06 Thread Jenda Krynicky
From: "Moonlit Submit" <[EMAIL PROTECTED]> > Hello, > Someone from this group gave me that snippet. I apologize for sending > the whole thing, I am new and thought maybe the whole thing needed to > be looked at to tell how to code it. I am VERY new lol. But I didn't > write that code. It was some

Re: Function Calls are Slower - was Re: Print Question

2002-04-06 Thread Jonathan E. Paton
> > > > Function calls in Perl are dead slow compared > > > > to compiled languages. > > > > > > Ok, so why is this? > > > > > > > Implementation and little optimization. > > > > Perl has a complex function calling mechanism, as > > it flattens argument lists by pushing elements onto > > the s

Re: perl-modules

2002-04-06 Thread drieux
On Saturday, April 6, 2002, at 10:56 , Robert Brandtjen wrote: > I'm using RH 7.2 - but ever since up2date installed perl 5.6.1, my > perllocal.pod dose not see all of the installed perl modules in /usr/lib/ > perl5/5.6.1 and instead only sees the ones I installed for Interchange. > > when I ru

Re: Function Calls are Slower - was Re: Print Question

2002-04-06 Thread Jenda Krynicky
From: "Jonathan E. Paton" <[EMAIL PROTECTED]> > > > Function calls in Perl are dead slow compared > > > to compiled languages. > > > > Ok, so why is this? > > > > Implementation and little optimization. > > Perl has a complex function calling mechanism, as > it flattens argum

Re: bounceback filter script

2002-04-06 Thread Moonlit Submit
Hello, Someone from this group gave me that snippet. I apologize for sending the whole thing, I am new and thought maybe the whole thing needed to be looked at to tell how to code it. I am VERY new lol. But I didn't write that code. It was someone named Chas I believe. I am trying to use Mail::S

Re: perl-modules

2002-04-06 Thread Robert Brandtjen
Joe Raube wrote: >Sounds more like a linux distribution question - as if you are trying >to install autoconf, and it requires a package called perl-modules. > >What distribution are you using? > >-Joe > I'm using RH 7.2 - but ever since up2date installed perl 5.6.1, my perllocal.pod dose not see

Re: perl-modules

2002-04-06 Thread Joe Raube
Sounds more like a linux distribution question - as if you are trying to install autoconf, and it requires a package called perl-modules. What distribution are you using? -Joe --- Robert Brandtjen <[EMAIL PROTECTED]> wrote: > Umm - I can't find this at cpan.org - does it have another name ? >

perl-modules

2002-04-06 Thread Robert Brandtjen
Umm - I can't find this at cpan.org - does it have another name ? " perl-modules is needed by autoconf-2.53-1" TIA- Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

perllocal.pod

2002-04-06 Thread Robert Brandtjen
This maybe unique, I can't find anything on google for it. My perllocal.pod (/usr/lib/perl5/5.6.1/i386-linux/perllocal.pod) contains only about 9 of over 100 installed PM's - how can I update it to see all of them ? TIA - Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: bounceback filter script

2002-04-06 Thread Jenda Krynicky
From: "Moonlit Submit" <[EMAIL PROTECTED]> > Hi, > Try the one attached. > Do you know how to write this correctly? > I want it to use mail::sender. > Thanks, > Lisa 1) Please do NOT append new unrelated questions to repplies. Send a new message with a new subject! 2) If you have a problem wit

Re: converting html to text

2002-04-06 Thread drieux
On Friday, April 5, 2002, at 10:43 , Paul Tremblay wrote: [..] > The problem is that the filter deletes all of my text and ouputs this: > > [TABLE NOT SHOWN][TABLE NOT SHOWN][TABLE NOT SHOWN][TABLE NOT > SHOWN][TABLE NOT SHOWN] Right! that is the big clue I should have seen - there is no 'plain

Re: PROBLEM WITH THE USES OF USE STRICT

2002-04-06 Thread Michael Lamertz
Aye, although I agree with Jonatha's rewrite of your loop, he actually didn't answer your question for *why* your code doesn't work: On Fri, Apr 05, 2002 at 04:16:42PM -0800, Jaimee Spencer wrote: > > #!/usr/bin/perl -w > > use strict; > > print ("What is 7 times 7? \n"); > > chop(my

Re: Problem with the uses of use strict

2002-04-06 Thread Jonathan E. Paton
Hi, Sticky CAPSLOCK? >Can someone please tell me why the below code does not work correctly? > Here is the problem: Once I run the program and type in a couple of wrong > answers and then type in the correct answer I still get the wrong response > (e.g "No that is wrong! Try again.") But if

Re: Perl - HTML Intergration

2002-04-06 Thread Todd Wade
"Vasileios Pliasas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! I'm new to perl and I would like to ask you > how does perl with html intergrades? > How can I call a perl script from my web browser? > I don't mean "... src=/../../test.pl" > What's next?

Re: Speed up data transfer

2002-04-06 Thread Don Felix
1) Depending on file, you might be able to compress it before sending. 2) Does the file exist in both places, and you're updateing? Maybe you should look at rsynch, which essentially transfers just the differences. Don Felix "Kevin Old" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]

PROBLEM WITH THE USES OF USE STRICT

2002-04-06 Thread Jaimee Spencer
Hello Team, Can someone please tell me why the below code does not work correctly? Here is the problem: Once I run the program and type in a couple of wrong answers and then type in the correct answer I still get the wrong response (e.g "No that is wrong! Try again.") But if I type in the cor

Re: Can Unlink Remove Tar and Zip files?

2002-04-06 Thread John W. Krahn
Loan Tran wrote: > > This is how i use the unlink. Please take a look. > Thanks. > --- > > #!/usr/bin/perl You should enable warnings and strictures. #!/usr/bin/perl -w use strict; > # clean old file > > use Carp; > > $cur_time = time; # current time in epoch (in > seconds) > $di