in reply to Re: (4): Running a C Program within Perl.
in thread Running a C Program within Perl.
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) ...
I get the following error...#!/usr/bin/perl-Tw use strict; my $cmd_to_run = "/opt/BIPSConnect/bin/rdes"; my @results = `$cmd_to_run`;
I am most baffled and confused, please help me if you can./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
In Section
Seekers of Perl Wisdom