Re: Questions about game design in perl

2004-04-07 Thread Luinrandir Hernsen
Hey What ever I did I'm sorry. Obvisious ly it upset someone... I'm gone.. you guys are way to uptight about little shit L Hernsen - Original Message - From: "WC -Sx- Jones" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 07, 2004 12:00 PM Subject: Re: Questions ab

Re: More Details --- Re: Questions about game design in perl

2004-04-06 Thread Luinrandir Hernsen
need to know how to pass variables with the HIDDEN INPUT command from web page to web page that perl generates. Thanks for your help again Lou - Original Message - From: "James Edward Gray II" <[EMAIL PROTECTED]> To: "Luinrandir Hernsen" <[EMAIL PROTECTED]&

Questions about game design in perl

2004-04-06 Thread Luinrandir Hernsen
Hallo I am trying to build a game in perl. I have questions. This is a story book game... here is the story, make a choice next page..here is the story, make a choice 1-Do I set up the login file (password name and your game details) in one big file, or in many files, one file per player? Th

File question

2004-03-08 Thread Luinrandir Hernsen
I want to write an online game... I need a to make a logon page and a new person page. I think I can do this with little help... however on the map... Do I keep one big file with all the info.. of several little files.. which is better? Thanks Lou -- To unsubscribe, e-mail: [EMAIL PROTECTED] F

capturing a webpage in a variable

2004-01-28 Thread Luinrandir Hernsen
IS this how I capture a web page code to a variable? > #!/usr/bin/perl > > use LWP::UserAgent; > > my $req; > my $ua = LWP::UserAgent->new; > $req = HTTP::Request->new(GET => 'http://www.yahoo.com'); print $req; ## ? from here I can print at the code for the web page?

Simple Perl code/syntax question

2004-01-23 Thread Luinrandir Hernsen
Hallo everyone and thank you for your previous help in basic the code would be for x=1 to 100 Select Case Case=10,20,30,40,50,60,70,80,90 then do this else else do this end select next x how is this done in perl? foreach (10,20,30,40,50,60,70,80,90); { do this; } I

Re: Program to write code

2004-01-22 Thread Luinrandir Hernsen
I use OptiPerl from www.xakra.com Any one else use this? L Hernsen - Original Message - From: "McMahon, Chris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 22, 2004 2:32 PM Subject: RE: Program to write code > > I like jEdit: www.jedit.org .

Join strings problem

2004-01-21 Thread Luinrandir Hernsen
Hallo and thank in advance. what am I doing wrong? I'm new to Perl. my Building string is not being built. is it that I need to declare the joined strings a string?How? Lou #!/usr/local/bin/perl print qq|Content-type: text/html\n\n|; my $EW5NS5="TEST.gif"; ##this is the string I need to build.

File Transfer

2003-03-13 Thread Luinrandir Hernsen
Is there a way in Perl to make a directory and transfer files to it? Lou -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HTML for my perl CGI

2003-03-06 Thread Luinrandir Hernsen
Can anyone direct me to HTML help? Re: Tables, backround, and images Thanks Lou -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Max Len for string in perl???

2003-03-04 Thread Luinrandir Hernsen
that it was unlimited, but I could be wrong (might have been PHP). Just keep it as short as possible. >>> "Luinrandir Hernsen" <[EMAIL PROTECTED]> 03/04/03 05:43AM >>> Hallo What is the maximum number of charecters in a string? $A=123456789>>>

Random access files in Perl????

2003-03-04 Thread Luinrandir Hernsen
Long ago in GW Basic there were sequential files and random access files. Does perl have the latter? I only to get (and then put) certain info in a certain place every time. If I can avoid writing the whole file every time I bet my web site hoster would appreciate it! Just point me in a direction

Max Len for string in perl???

2003-03-04 Thread Luinrandir Hernsen
Hallo What is the maximum number of charecters in a string? $A=123456789 Lou -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

please please comfirm (was Parsing variables)

2003-03-03 Thread Luinrandir Hernsen
Thank you for your help but I want to learn this too Here is the code from the HTML GET North West And here I think is the CGI code $input=$ENV{QUERY_STRING}; @pairs = split(/&/, $input); foreach $pair (@pairs) { ($name, $value)=split(/=/,$pair); $form

Parsing variables

2003-03-03 Thread Luinrandir Hernsen
Hallo I need simple parsing code for a "get" not a "post". that will yeild 4 or 5 variables. Lou #I know I need to get rid of the "&" # Split the name-value pairs @pairs = split(/&/, $ENV{'QUERY_STRING'}); foreach $pair (@pairs) { # Split the pair up into individual variables.

need help ... text boxes/form .... alphanumeric input only

2002-09-04 Thread Luinrandir Hernsen
Hallo I had to replace the pull down menues to text boxes on my order form. This means I need to filter out unwanted text. I need to make it alphanumeric only.for security reasons. I have red/bold the two lines I changed last time to eliminate all "0" "zero" orders. if you are not receiving th

Re: converting a list into array

2002-09-04 Thread Luinrandir Hernsen
Hallo I had to replace the pull down menues to text boxes on my order form. This means I need to filter out unwanted text. I need to make it alphanumeric only.for security reasons. I have red/bold the two lines I changed last time to eliminate all "0" "zero" orders. if you are not receiving th

need help

2002-04-29 Thread Luinrandir Hernsen
This line is from a script if ($Config{'print_blank_fields'} || $Form{$field} ne '0') I need to change the last part (in bold) to read for both 0 and the empty set '' so the logic should read if ($Config{'print_blank_fields'} || $Form{$field} ne '0' or '' ) Or to say it another way I need the