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: [Laurent_R] one liner script to find prime numbers between 1 to 100: Edit Log



Kenosis
User

Mar 12, 2013, 11:23 AM


Views: 924
Re: [Laurent_R] one liner script to find prime numbers between 1 to 100

Then you can omit the initial:

Code
$_=1;

And use:

Code
for 1..100

Smile


(This post was edited by Kenosis on Mar 12, 2013, 11:25 AM)


Edit Log:
Post edited by Kenosis (User) on Mar 12, 2013, 11:24 AM
Post edited by Kenosis (User) on Mar 12, 2013, 11:24 AM
Post edited by Kenosis (User) on Mar 12, 2013, 11:25 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