what was teh value u assigned to both of the variable and what are u getting perl -e '$cpuscore=10;$userscore=20;print "computer score: $cpuscore\n User Score:...
13613
Krishnakant Mane
cssperl@...
Feb 3, 2003 8:40 pm
Hello, I just wanted to remind that I need some help on creating real time reports from databases. I want to present the data in a tabular grid format with...
13614
Jeff Eggen
jeggen@...
Feb 3, 2003 8:49 pm
Hi all, I have a reverse index file that I'm using for a searchengine on my website: the file contains a list of filenames and references each to a number, and...
13615
grappling_machine <...
grappling_ma...
Feb 3, 2003 10:01 pm
Hey , i am using these variables to keep score in a game . the two variables $userchoice and $cpuchoice keep score and then are supposed to display the number...
13616
Carl Flippin
carl_flippin...
Feb 3, 2003 10:22 pm
This line is your problem. Your quotes are off. You want: print "computer score: $cpuscore\nUser Score: $userscore92;n";...
13617
Jenda Krynicky
jendaperl
Feb 3, 2003 10:23 pm
From: "Jeff Eggen" <jeggen@...> ... Let's suppose @LoL is a list of lists you want to intersect. I assume the lists do not contain duplicates!!! This is...
13618
Andrew Hazen Schlaikjer
aschlaikjer
Feb 3, 2003 10:25 pm
Hello, I've been using perl for a while now and thought I new mostly everything about its basic functions, but just today I found something I couldn't explain:...
13619
Jenda Krynicky
jendaperl
Feb 3, 2003 10:40 pm
From: Andrew Hazen Schlaikjer <ahs37@...> ... It does. See below. ... The whole point is that shift() works on an ARRAY, not a list :-) Try this: @a =...
Geez, is that all off the top of your head? :-) __________________________________________________ Jean-Sebastien Guay, Software developer Hybride...
13621
aschlaikjer <ahs37...
aschlaikjer
Feb 3, 2003 10:52 pm
Haha! Oh no! you've blown my mind! You mean that ARRAY and LIST types are different in this context? I've been operating for so long under the impression that...
13622
Jenda Krynicky
jendaperl
Feb 3, 2003 10:59 pm
From: Jean-Sébastien Guay <jean_seb@...> ... Yep. It was fun. Exaplining them would not be that much fun, but if you or anyone needs a few comments...
13623
Jenda Krynicky
jendaperl
Feb 3, 2003 11:07 pm
From: "aschlaikjer <ahs37@...>" <ahs37@...> ... I don't think I can explain the exact difference myself. Try if perldoc -q "What is the...
13624
David Driscoll
ddriscoll@...
Feb 3, 2003 11:21 pm
Hi, I'm trying to get the DB_File perl module intstalled on hp-ux 11.0. I think I'd done everything the README says to do but when I do "make test" I get the...
13625
sravul <sravul@......
sravul
Feb 4, 2003 1:28 am
I am new to perl programming. I was trying to write a perl program which requires a lot of understanding and exertize in perl. I was just curious if there is a...
13626
zephantum <zephant...
zephantum
Feb 4, 2003 2:03 am
Hi all, i need some more help.. i got a link checking script from a book (Perl for website management, example 11-4) and would like to use it on my site......
13627
Nathan.Jeffrey@...
Feb 4, 2003 3:01 am
What are you actually running? Can you give an example command line? N "zephantum <zephantum@...>" <zephantum 04/02/2003 01:03 PM Please respond to...
13628
Octavian Rasnita
orasnita
Feb 4, 2003 5:25 am
Thank you. I will try to use DBI only after forking. I have DBI.pm,v 11.18 2002/07/18 14:23:44 timbo Exp $ running under Windows 2000 and Perl 5.8.0. Teddy, ...
13629
Sam Mauntz <barry1...
Barry1Bonds
Feb 4, 2003 7:01 am
Here's the code... #!/usr/bin/perl print "<HTML>\n"; print "<HEAD>\n"; print "<TITLE>Perl Test Page</TITLE>\n"; print "</HEAD>\n"; print "<BODY>\n"; print...
13630
Franki
frankhauptle
Feb 4, 2003 7:43 am
try adding this above the first line of html... print "Content-type: text/html\n\n"; rgds Frank ... From: Sam Mauntz <barry1bonds@...>...
13631
vakeel ahmad
vakgroup@...
Feb 4, 2003 8:20 am
Please add print "Content-Type:text/html \n\n"; after first line of your code. ... print "Content-Type:text/html \n\n"; ... ...
13632
Jadi, SoftHome
jadijan
Feb 4, 2003 8:42 am
how can I change the 3th character of the string to A ? $str = "jadi"; and I want to change it to : $str = "jaAi"; how ? I used to write in c just like "...
... You need to print a header separated by a blank line. print "Content-Type: text/html; charset=ISO-8859-1\n\n" ... HTH, Charles K. Clarkson -- Head Bottle...
13635
Charles K. Clarkson
charlesclarkson
Feb 4, 2003 8:53 am
... In combination, these two rules specify that each line must lose any trailing spaces and have a backslash added: s/\s+$//; $_ .= '\39;; Or: s/\s*$/92;\/; ... ...
13636
Jake
zephantum
Feb 4, 2003 9:12 am
the script is a link checker, it goes thru a web site's pages checking for broken links. on the command line i'm supposed to enter in the url of the page to...
13637
Jeff Eggen
jeggen@...
Feb 4, 2003 1:34 pm
... That's a safe assumption in this case. ... This is what I thought of a few hours after sending the note. I'm surprised I didn't think of it in the first...
13638
Jenda Krynicky
jendaperl
Feb 4, 2003 3:53 pm
From: "Jeff Eggen" <jeggen@...> ... Let's try: { my %isect; my $list_count = 0; foreach my $list (@LoL) { foreach my $item (@$list) { $isect{$item}++ if...
13639
grappling_machine <...
grappling_ma...
Feb 4, 2003 4:40 pm
# My question is how can I print out the $string variable but enter new lines inbetween each $string instance? # When I use the \n character right after my...
13640
Ben Maynard
liliafan
Feb 4, 2003 4:52 pm
Remove the chomp on the string when you chomp you are removing the new line so don't bother chomping the new line with already be there for you, failing that...
13641
Carl Flippin
carl_flippin...
Feb 4, 2003 4:55 pm
The problem is most likely that you have something quoted wrong. Could you post the code that is failing? That would make it easier to diagnose....