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: [smsh] Printing and Counting words: Edit Log



MetalGear
Novice


Mar 30, 2010, 11:01 PM


Views: 6769
Re: [smsh] Printing and Counting words


Code
 

$count++ if(/^(\w{3})\w*\1$/);

push @array1, $_;



after the loop, print the array1...


(This post was edited by anil mundewadi on Mar 30, 2010, 11:27 PM)


Edit Log:
Post edited by MetalGear (Novice) on Mar 30, 2010, 11:09 PM
Post edited by MetalGear (Novice) on Mar 30, 2010, 11:27 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