Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Running a C Program within Perl.

by Sniper (Scribe)
on Dec 27, 2001 at 21:50 UTC ( #134670=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Running a C Program within Perl.
in thread Running a C Program within Perl.

Please, post a piece of code :-)

David "Sniper" Rigaudiere


Comment on Re: Re: Re: Running a C Program within Perl.
Replies are listed 'Best First'.
Posted once, but here is another post of it for you. Thanks for all of your help :)~
by basicdez (Pilgrim) on Dec 27, 2001 at 21:56 UTC
    I can run this at the prompt, but putting in the following, /opt/BIPSConnect/bin/rdes, but when I put it in perl code (here is what I am trying to do - Quite simple and nothing complex, until I get this working) ...
    #!/usr/bin/perl-Tw use strict; my $cmd_to_run = "/opt/BIPSConnect/bin/rdes"; my @results = `$cmd_to_run`;
    I get the following error...
    /opt/BIPSConnect/bin/rdes: LD_LIBRARY_PATH=:/usr/lib:/usr/ucblib:/usr/ +openwin/lib:/usr/dt/lib:/usr/local/lib:/opt/hpnpl/lib:/p01cfg0 1/harvest/Harvest/lib:/opt/BIPSConnect/bin: is not an identifier
    I am most baffled and confused, please help me if you can.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://134670]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2015-07-08 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls