keeping \n in an array when being passed through form

2002-03-06 Thread James Woods
[repost with better subject and code put directly into the message] Ok, I'm getting closer thanks to the help of all the experts out here!! I'm totally thankful for all of your help. At http://staff.washington.edu/guru/cards2.cgi when you hit "End Phase" it passes, as a hidden form field, the

Re: from file to a list containing lists (repost w/ code)

2002-03-05 Thread James Woods
Duh, forgot to change the extention from .cgi to .txt Ok, I'm getting closer thanks to the help of all the experts out here!! I'm totally thankful for all of your help. Now, I've rewritten most of what I had before, using suggestions and examples from our resident Perl Pros. While I'm closer t

Re: from file to a list containing lists

2002-03-05 Thread James Woods
Ok, I'm getting closer thanks to the help of all the experts out here!! I'm totally thankful for all of your help. Now, I've rewritten most of what I had before, using suggestions and examples from our resident Perl Pros. While I'm closer to my desired outcome, I'm still not there; here is my

Re: from file to a list containing lists

2002-03-04 Thread James Woods
OK, you're totally right, I should have printed my code 8^( I figured that it would be totally easy... then I remembered that I'm a noobie and everything is confusing 8^) First, let me say that I'm trying to get work to buy me a Perl book, but money at the state is tight these days. I've eve

from file to a list containing lists

2002-03-04 Thread James Woods
I've got a file that I would like to import into a list. The file has many rows, and each row has 3 records, seperated with a "|". Example of file is as below: f|Axe Strike|d f|Disquiet of our people|p f|Dwarven Armor|p When I was just using 1 record in the file, @Array = ended up working g

help with first Perl application (repost w/ better subject line)

2002-03-02 Thread James Woods
C# L.C.D Play Card Name |; #This prints out the randomized array #Ok, figure out how to make the @Draw list remove anything #checked. Also how to add whatever was removed to the #big textarea on the right. #The first checked element shows up in the textarea. #Try to loop over the @array in the texta

in over my head, but having fun treading water

2002-03-02 Thread James Woods
;Played Cards" list, but the first card (the one you checked) gets removed from the "Draw Deck". I'm figuring that I'm just missing some @rray thing (being 0-based and all), but I just can't see what I'm doing wrong. I appreciate all the help! -James James Woods W