... /s[0h].*?ll.*?v/i should get you started. Check out while loops, global regexes and backreferences (like $1). ... Whatever text editor you're used to is...
... glad to see you again! ... any Linux/FreeBSD command line account, GNU emacs (struggling with this a bit myself) I do know there's vs emacs available for...
J.E. Cripps
cycmn@...
Mar 2, 2005 4:17 am
20593
... which proves again, THTOWTDI....
J.E. Cripps
cycmn@...
Mar 2, 2005 4:18 am
20594
Once again I am looking for an example of how to make and use a perl module. It can't be that hard, can it? call on a module, pass some variables.. maybe I...
On Wed, 2 Mar 2005 08:33:27 -0500, Luinrandir Hernsen ... perldoc perlmod ... You could also start learning perl. =)...
Rick Apichairuk
rapichai@...
Mar 2, 2005 1:51 pm
20596
OK.. I searched perldoc.. still does not make sence and instructions vague. can anyone give me an example or a source of an example of a simple module. OR How...
... There are entire books on just Perl modules. It's simply not something that can be tackled in an email thread. The fact that you're asking how to make an...
Learning Java instead of Perl? That's like trying to learn Latin or Hieroglyphics instead of Spanish. Either way you learn a language...but the latter will...
Lou, On Wed, 2 Mar 2005 14:40:15 -0500, Luinrandir Hernsen ... I wouldn't call it "vague". I think there is a lot of terminology used in the perldocs that...
Rick Apichairuk
rapichai@...
Mar 2, 2005 10:12 pm
20600
well thank you and blessings to you. a straight and helpfull answer. Thank you again I have a book "read less, learn more" PERL it has lots of helpfull info in...
Lou, On Wed, 2 Mar 2005 17:08:27 -0500, Luinrandir Hernsen ... You're welcome! =) ... You might want to actually post your actual code when asking questions....
Rick Apichairuk
rapichai@...
Mar 2, 2005 10:27 pm
20602
well beleive it or not... in 8 pages my main questions were answered and it was preet much as I thought. I will begin experimenting tonight. I have a program...
Take a look at CGI::Application and/or CGI::Prototype docs. These CGI frameworks may be what you need, or help you better understand modules/class inheritance....
Jonathan Mangin
jon.mangin@...
Mar 2, 2005 10:39 pm
20604
... The purpose of a subroutine is to not duplicate code within a single script. The purpose of a module is to not duplicate code in multiple scripts. If you...
... If this is the vampire(?) game you have on the web, what you probably need is a complete rewrite, but you do not seem experienced enough to rewrite a large...
the vampire game is not mine. I have www.mysticadventures.com the only way I can think of making it smaller is by making each place in the game a independent...
... [ tried to use of cpan on a distro's /usr/bin/perl versus instead to compiling/installing Perl into /usr/local/bin/perl then use the cpan on the latter of...
Hi, Can anyone tell me how can I read binary files in perl. thanks, Piyush...
Piyush Swami
piyush@...
Mar 4, 2005 6:56 am
20612
u can try the code snippet mentioned in the below link, 8.14. Reading a String from a Binary File http://www.unix.org.ua/orelly/perl/cookbook/ch08_15.htm ...
Rathna N
rathnasuresh@...
Mar 4, 2005 7:58 am
20613
Well I have successfully written and used my first package. My intent is to make packages that write HTML for each area of my game. My program really does...
I thought about using a hash, but i see it as a trade off beetween hashes that are readable incode and being able to use a loop with the array. Luinrandir ... ...
... If you stick with an array you can use constants e.g. use constant COINS => 0; use constant SWORDS => 1; $data[COINS] = $coin_value; $data[SWORDS] =...
I'm not sure how you define an "engine" but I intend to do something like that. I am going to make each location a CGI that calls on the packages needs for...
From: daymobrew@... ... Right. ... Wrong. print "Value is $data[COINS] coins"; works just fine. You'd only have to do something special if you wanted to...