CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [Larkdog] converting letters to corresponding numbers: Edit Log



Larkdog
User

Oct 30, 2004, 2:55 PM


Views: 11638
Re: [Larkdog] converting letters to corresponding numbers

i got to thinkin (i went and took a shower), and i think i might know the answer to my second question. tell me if this is right:

a-zA-Z\.\? means all the characters in the hash_code and the '^' means 'not', and because i have no control over the user input (and the fact that there are way more characters available than are in the hash code), the s/[^a-zA-Z\.\?\s]//gi searches out all characters that i dont accept and in essence deletes them.

is that right?
www.MrLarkins.com

(This post was
edited by Larkdog on Oct 30, 2004, 2:56 PM)


Edit Log:
Post edited by Larkdog (User) on Oct 30, 2004, 2:56 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives