Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Exploring Inline::C (Generating primes)

by davido (Cardinal)
on Oct 25, 2011 at 10:16 UTC ( [id://933587]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -e 'use Inline C=>q{void greet(){printf("Hello, world\n");}};gree
    +t'
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    # Cross your fingers and hope for the best!
    
  3. or download this
    1..3
    ok 1 - The first 500 primes are found from 2 to 3571.
    ...
    #
    # I love it when a plan comes together.
    #
    
  4. or download this
    1..3
    ok 1 - The first 500 primes are found from 2 to 3571.
    ...
    # 
    # I love it when a plan comes together.
    #
    
  5. or download this
    use strict;
    use warnings;
    ...
        }
        return sv_2mortal( av );
    }
    
  6. or download this
    1..4
    # Operating system: linux, Perl version: v5.14.2
    ...
    # 
    # I love it when a plan comes together.
    #
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://933587]
Approved by GrandFather
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2024-04-18 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found