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: Intermediate: Re: [dave] Best way to separate string?: Edit Log



Paul
Enthusiast

Mar 15, 2002, 4:13 AM


Views: 4713
Re: [dave] Best way to separate string?

Why didnt you give that as your first answer :)

Its always easier when youve had time to think Wink


Quote
It is shorter. Good one.
But you could lose that loop and second reference...
Your turn!


Haha I like the way you think you are unbeatable.


Tongue

$verify =~ s/>(\S+?)</print"$1\n"/eg;

I believe that beats you by 2 characters..."your turn"


(This post was edited by RedRum on Mar 15, 2002, 7:17 AM)


Edit Log:
Post edited by Paul (Enthusiast) on Mar 15, 2002, 4:15 AM
Post edited by Paul (Enthusiast) on Mar 15, 2002, 4:17 AM
Post edited by Paul (Enthusiast) on Mar 15, 2002, 4:18 AM
Post edited by Paul (Enthusiast) on Mar 15, 2002, 4:33 AM
Post edited by Paul (Enthusiast) on Mar 15, 2002, 4:34 AM
Post edited by Paul (Enthusiast) on Mar 15, 2002, 7:17 AM


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

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