Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

dumping C output to a variable or text file..

by Anonymous Monk
on Dec 03, 2002 at 17:11 UTC ( [id://217284]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello... We are running a Perl script that we're trying to get working correctly. It supposed to be running a C script half way through which will retrieve all records in a database. We would like the records to be in a variable or text file that we could read from. We tried using open, exec, system..all of them.. The script using Open works on the server (in telnet), but not in the browser???? when trying to print the variable in the browser its blank. Any Ideas? Thanks -Mike
  • Comment on dumping C output to a variable or text file..

Replies are listed 'Best First'.
Re: dumping C output to a variable or text file..
by MZSanford (Curate) on Dec 03, 2002 at 17:40 UTC
    Please, make a small exmaple program, which exibits the same problem, and post that in <code> tags. Without that, we will all be guessing.
    from the frivolous to the serious
Re: dumping C output to a variable or text file..
by rdfield (Priest) on Dec 04, 2002 at 10:24 UTC
    Why do you need to use C to retrieve data from a database? I presume you must have (as yet unexplained) some very good reasons for not using DBI?

    rdfield

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://217284]
Approved by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-04-23 07:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found