Re: pseudohash

2006-02-11 Thread Owen Cook
On Sat, 11 Feb 2006, Beast wrote: > > Could someone explain what is pseudohash means? Maybe have a read of perlref, try http://perldoc.perl.org/perlref.html Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Stuck on last step

2006-02-11 Thread Ron Smith
Hi all, I've got a CGI script that takes two strings and sorts them in order, then prints them. The problem is I don't want nulls or numbers entered. I think I've got the "null" end of it right, but I'd also like to error-out any numbers entered. Take a look at the "unless" line. ...

Re: Stuck on last step

2006-02-11 Thread Omega -1911
Proper structure: if ($...) {} # UNLESS NOT TO BE USED HERE elsif {} else {} JMPO... (Just My Perl Opinion) On 2/11/06, Ron Smith <[EMAIL PROTECTED]> wrote: > > Hi all, > > I've got a CGI script that takes two strings and sorts them in order, > then prints them. The problem is I don't want nul

Re: searching question

2006-02-11 Thread Xavier Noria
On Feb 11, 2006, at 5:01, Wijnand Wiersma wrote: I want to search in a database for values belonging to a key. The key can be one word, or several words. I get the key in a string, but it is not needed that the whole string is the key. You may ask: "what is the perl language?" The key may be "th

Re: searching question

2006-02-11 Thread Wijnand Wiersma
On 2/11/06, Xavier Noria <[EMAIL PROTECTED]> wrote: > I don't completely understand the problem, but curiously there was a > similar question from someone else yesterday in the SQLite mailing- > list. Is this homework? No, this is not homework. I left school 5 years ago. And no, this not a databa

text files to xml database

2006-02-11 Thread I BioKid
hi all, I need technical advice from all perlbuddies, I have 2 text files and I want to convert it to XML and then to a database. I need a proper technical descritption to do it using PERL. I need details like which db should i use also. S K -- To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: text files to xml database

2006-02-11 Thread Chris Devers
On Sat, 11 Feb 2006, I BioKid wrote: > I need technical advice from all perlbuddies, > > I have 2 text files and I want to convert it to XML and then to a > database. I need a proper technical descritption to do it using PERL. > I need details like which db should i use also. Good luck wit

text file to xml to database

2006-02-11 Thread I BioKid
hi all, I need technical advice from all perlbuddies, I have 2 text files and I want to convert it to XML and then to a database. It will be really helpfull, if you could give me a proper technical descritption to do it using PERL.like which module should i use, how to parse my text file to xm

Suggest a mod_perl book for apache2

2006-02-11 Thread Brian
Hi all. Can someone suggest a good book for learning mod_perl with apache2. After a little reading I get the impression the two implementations of mod_perl are very different. In searching amazon it seems just about every book is written for mod_perl on apache1.3. Thanks, Brian -- To unsub

Re: pseudohash

2006-02-11 Thread James Marks
On Feb 11, 2006, at 12:04 AM, Owen Cook wrote: On Sat, 11 Feb 2006, Beast wrote: Could someone explain what is pseudohash means? Maybe have a read of perlref, try http://perldoc.perl.org/perlref.html Owen To my amusement, when I followed your suggestion, I got: -- Perl 5.8.6 document

Re: text file to xml to database

2006-02-11 Thread John Doe
I BioKid am Samstag, 11. Februar 2006 17.47: > hi all, Hi There are reasons why you didn't get answers you like. > I need technical advice from all perlbuddies, There are quite a lot of perlbuddies... > I have 2 text files and I want to convert it to XML and then to a > database. It will b

Re: text file to xml to database

2006-02-11 Thread I BioKid
Dear All, We have a text based database, now we want to implement web services for the for people around the world for a programmatic access to our server. Our databse at the moment is not technically a database - its only a server which retreive server and present it on browser according to query

Re: pseudohash

2006-02-11 Thread Owen
James Marks wrote: > On Feb 11, 2006, at 12:04 AM, Owen Cook wrote: >> Maybe have a read of perlref, try http://perldoc.perl.org/perlref.html > To my amusement, when I followed your suggestion, I got: > > -- Perl 5.8.6 documentation -- > Home > Search results > Search results > > No matches fou

Re: pseudohash

2006-02-11 Thread Tom Phoenix
On 2/10/06, Beast <[EMAIL PROTECTED]> wrote: > > Could someone explain what is pseudohash means? A "pseudohash", much like "the macarena", "N-rays", "Herbalife", "Paris Hilton", "New Coke", and "Intelligent Design", is an idea that sounded good at the time. It's obsolete; it's deprecated. It may c

Checking a list for a value

2006-02-11 Thread David Gilden
I would like to loop through 'all' acceptable values in an array (my white list) then assign a pass or fail value. In the following code does not accomplish this, it needs to go through the entire list before assigning a value. #!/usr/bin/perl $valToTest = "ac"; @myGoodList = ("10_rater","3

Re: text file to xml to database

2006-02-11 Thread John Doe
I BioKid am Samstag, 11. Februar 2006 20.39: > Dear All, Hi again > We have a text based database, now we want to implement web services for > the for people around the world for a programmatic access to our server. This is a quite general task. I think the people on this perl list would help

Re: Checking a list for a value

2006-02-11 Thread John Doe
David Gilden am Samstag, 11. Februar 2006 21.54: > I would like to loop through 'all' acceptable values in an array (my white > list) then assign a pass or fail value. > > In the following code does not accomplish this, it needs to go through the > entire list before assigning a value. > > > #!/usr

Re: Checking a list for a value

2006-02-11 Thread John W. Krahn
David Gilden wrote: > I would like to loop through 'all' acceptable values in an array (my white > list) > then assign a pass or fail value. > > In the following code does not accomplish this, it needs to go through the > entire list > before assigning a value. > > > #!/usr/bin/perl > > $va

Re: Suggest a mod_perl book for apache2

2006-02-11 Thread Todd W
"Brian" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all. Can someone suggest a good book for learning mod_perl with > apache2. After a little reading I get the impression the two > implementations of mod_perl are very different. In searching amazon > it seems just about every

Re: pseudohash

2006-02-11 Thread Alan
On Saturday 11 February 2006 10:10, James Marks wrote: > On Feb 11, 2006, at 12:04 AM, Owen Cook wrote: > > On Sat, 11 Feb 2006, Beast wrote: > >> Could someone explain what is pseudohash means? > > > > Maybe have a read of perlref, try http://perldoc.perl.org/perlref.html > > Owen > > To my amusem

Re: pseudohash

2006-02-11 Thread Sky Blueshoes
Alan wrote: On Saturday 11 February 2006 10:10, James Marks wrote: On Feb 11, 2006, at 12:04 AM, Owen Cook wrote: On Sat, 11 Feb 2006, Beast wrote: Could someone explain what is pseudohash means? Maybe have a read of perlref, try http://perldoc.perl.org/perlref.html O

Re: pseudohash

2006-02-11 Thread James Marks
On Feb 11, 2006, at 12:16 PM, Owen wrote: James Marks wrote: On Feb 11, 2006, at 12:04 AM, Owen Cook wrote: Maybe have a read of perlref, try http://perldoc.perl.org/perlref.html To my amusement, when I followed your suggestion, I got: -- Perl 5.8.6 documentation -- Home > Search result

Regular expression question...

2006-02-11 Thread Ley, Chung
Hi, What is the regular expression to look for "%" unless that the "\" is right before that? So, if I have something like this: "\%abc%", I like to get the 2nd "%" and not the first Thanks... --Chung