... Use lynx. But it needs to be compiled with the execute cgi option. -- Greg Matheson Those who can do. Dr Bean's Penpal Pool Those who...
13583
Ben Maynard
liliafan
Feb 1, 2003 1:01 pm
lynx has a cgi option? Learn a new thing everyday I have been using it for about 5 years and never took the time to notice that. What are flags to do so? ...
13584
Florence Chukwudebe
illnoizeprod...
Feb 1, 2003 5:47 pm
anyone know how to use the cgi script in paypal to set up a gate way for people to get a user name and password after payment? perl-beginner@yahoogroups.com...
13585
gordon
gordonisnz
Feb 1, 2003 6:24 pm
Hi there, Ive got a POP script etc.. & using it to pop my email & retrieve the email text.. Anyway, Ive put each message into a @variable & looping through the...
13586
picsian1 <imoq172@...
picsian1
Feb 2, 2003 2:37 am
Hello all I'm using sendmail and I've got it coded like this: open(MAIL, "|/usr/sbin/sendmail -oi -t ") || Error ('open39;, 'mail program'); select (MAIL); ...
13587
Charles K. Clarkson
charlesclarkson
Feb 2, 2003 5:45 am
... The "@megawebservers.com" might be coming from sendmail because someone has turned on the "always_add_domain" feature: ...
13588
Jadi, SoftHome
jadijan
Feb 2, 2003 11:17 am
hI, Can real beginners ask questions ? :) I want to browse a String char by char. I've used to do in C this way : for (int i, i<length(str), i++) str[i]='A'; ...
13589
Krishnakant Mane
cssperl@...
Feb 2, 2003 11:37 am
Hello every one. A few days back I had inquired about printing to a printer. I still don't understand how to send output to the printer. Any help in this...
13590
picsian1 <imoq172@...
picsian1
Feb 2, 2003 6:30 pm
Charles, Thank you for responding. You're dead-on!. You must include the domain at the end. Thanks again. gary ... ...
13591
picsian1 <imoq172@...
picsian1
Feb 2, 2003 6:38 pm
Hello all This is pretty elementary but I can't seem to get it to work. Perhaps one of you eagle eyes can spot where I'm going wrong. I'm appending records to...
13592
Charles K. Clarkson
charlesclarkson
Feb 2, 2003 7:27 pm
... Worked for me: #!/usr/local/bin/perl my %postInputs = ( First => 'John', Last => 'Public39;, Address => '123 Easy Street', Email => 'JQ@...', ...
13593
Dustin Smith AKA GIDu...
gidustin
Feb 2, 2003 10:47 pm
I have an array, and each element has a newline at the end. How can I get rid of the newline after each element without making a loop to rebuild each element?...
13594
Dustin Smith AKA GIDu...
gidustin
Feb 2, 2003 10:50 pm
duh, NM I got it. instead of @data = chomp(@data); it should just be chomp(@data); GIDustin -- My Home Page: http://www.gidustin.net Alternate:...
13595
Nathan.Jeffrey@...
Feb 2, 2003 11:33 pm
Really, I think you should be looking at the format() and write() calls. It should be able to do something very close to what it sounds like you're after. ...
13596
Nathan.Jeffrey@...
Feb 2, 2003 11:38 pm
That's probably the way I'd do it.... my $str = "foobarbaz"; my $i; for ( $i = 0, $i < length($str), $i++ ) { # NB, brackets added for clarity print(...
13597
Octavian Rasnita
orasnita
Feb 3, 2003 2:47 am
Why isn't "substr()" function good enough? Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: orasnita@... ... From: "Jadi, SoftHome" <jadi@...> ...
13598
grappling_machine <...
grappling_ma...
Feb 3, 2003 5:32 am
I am writing a simple rock paper scissors game in perl but i am having problems with the output. after i enter "rock for example my program just starts over...
13599
Octavian Rasnita
orasnita
Feb 3, 2003 6:04 am
Have you tried: chomp @array; Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: orasnita@... ... From: "Dustin Smith AKA GIDustin" <dustin@...> ...
13600
Charles K. Clarkson
charlesclarkson
Feb 3, 2003 6:05 am
... No. substr is about the fastest way to do it. What are you trying to accomplish?...
13601
Franki
frankhauptle
Feb 3, 2003 6:11 am
Thats a good question... I would imagine that chomp @array would not have the desired result. so I think this: foreach my $item (@array) { $item = chomp $item;...
13602
Charles K. Clarkson
charlesclarkson
Feb 3, 2003 6:21 am
... Try testing this part with: #!/usr/bin/perl print rand() * 3, "\n" for 1 .. 10; __END__ It is unlikely you will get any integers. Now try: #!/usr/bin/perl ...
13603
Jadi, SoftHome
jadijan
Feb 3, 2003 6:29 am
... when you use rand, the result will be a floating point number ( say 1.857493 ) so you have to use "int" : my $target = int (rand()*3); so "int ( 1.857493...
13604
picsian1 <imoq172@...
picsian1
Feb 3, 2003 7:36 am
Charles, Thank you for wanting to help again. Your response did help a lot. I spent at least 4 hrs looking at that one before posting it. Then after your...
13605
diheptal <diheptal...
diheptal
Feb 3, 2003 2:34 pm
can anyone change code below a bit? what this does to a plain text file is overwrite all the characters with backslashes. it does not at present overwrite any...
13606
Jenda Krynicky
jendaperl
Feb 3, 2003 2:48 pm
From: "Octavian Rasnita" <orasnita@...> ... What version of DBI do you have? This DOES look like a problem in DBI, but I think this has already been solved...
13607
David Driscoll
ddriscoll@...
Feb 3, 2003 2:56 pm
Hi, I'm trying to install the DB_File module on a hp-ux 11.0 system with perl 5.6.1 on it. I've tried both swinstal and MCPAN and it gets to the make step and...
13608
Jenda Krynicky
jendaperl
Feb 3, 2003 3:55 pm
From: David Driscoll <ddriscoll@...> ... You are supposed to read the README file from the DB_File archive :-) It will tell you to update Config.in to...
13609
carpetony <carpeto...
carpetony
Feb 3, 2003 4:10 pm
Any one have any ideas why one of my forms works, yet the other one after several attempts to tidy up @referrers, doesn't want to work? the working form is: ...
13610
prakash
prakash@...
Feb 3, 2003 6:37 pm
one of my module has the following code... $sth = $dbh->prepare("select * from email where user_id=\'$userid92;' and pros_email=92;'$email\'") || return...
13611
grappling_machine <...
grappling_ma...
Feb 3, 2003 8:26 pm
I am trying to get my variables $cpuscore and $userscore to print but it keeps printing them literally as strings and not variables. Any help would be...