Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

C-Perl

by devslashneil (Friar)
on May 12, 2004 at 09:10 UTC ( [id://352677]=poem: print w/replies, xml ) Need Help??

#define shift main #define or ( #define eval ) shift or eval {printf("Hello, World\n");}
Useage:
neil@gimp:~$ gcc perlc.c; ./a.out Hello, World neil@gimp:~$ perl perlc.c Hello, World
Neil Archibald

Replies are listed 'Best First'.
Re: C-Perl
by DrHyde (Prior) on May 12, 2004 at 10:45 UTC
    Also look at the -P switch.
Re: C-Perl
by awwaiid (Friar) on May 23, 2004 at 23:00 UTC
Re: C-Perl
by andyf (Pilgrim) on May 16, 2004 at 05:59 UTC
    Nice. I'd like to see one that can pass C, Bash, Perl and Ada, I believe it would be possible.
    Andy.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-29 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found