Hi, im making a perl news script, taking ideas from all the news scripts on the net etc etc
The thing im addnig now is converting links in a thread to a
Locked Post
That's basically how it's done. I don't know a lot about Perl, but that's exactly the method I would use in ColdFusion or ASP. I'm not sure what you mean by "it would capter all before _space_" though.
We're looking up the edits for this post...
i am guessing everything up to the space, so if you have a URL string
URL_wincustomize
but typed in
URL_wincustomize-this-is-cool
the script would also grab the "-this-is-cool" bit on the end.
you are also letting an end of line indicate the end of a URL arent you?
however, unless you want to create a set of rules for detecting the end of a URL, i suspect this is the best you can do.
We're looking up the edits for this post...
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting and posting on the forums.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!
Sign in or Create Account