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: Advanced: Re: [madhu_p] calling c programme in perl: Edit Log



Recall
Novice

Nov 29, 2003, 4:47 PM


Views: 1100
Re: [madhu_p] calling c programme in perl

This perhaps is more of a basic/intermediate question but anyway...

If your C program generates output use:

my $out = qx/yourprog -any -switches/;

If not use....

system("yourprog") and die $!, $?;


(This post was edited by Recall on Nov 29, 2003, 4:47 PM)


Edit Log:
Post edited by Recall (Novice) on Nov 29, 2003, 4:47 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