in reply to running a executable program using perl ???

Traditionally, "It does not work" is a common yet very undescriptive error message. Maybe you can tell us more exactly how it does not work. For example, when approaching the issue of running an external program, I use the following code:

#!/usr/bin/perl -w use strict; my $program = "rnafold"; my $cmd = "$program -p -noOUTPUTFILE"; system($cmd) == 0 or die "Couldn't launch [$cmd]: $!/$?";

This usually gives me an informative error message about what happened. Maybe you can do the same and tell us about the error message.

As an aside, there seem to be some problems with your keyboard. Please have a technician check your CAPS Lock key and your "A" and "E" keys. They seem to become stuck or not to register at all at times.

Replies are listed 'Best First'.
Re^2: running a executable program using perl ???
by Skeeve (Parson) on Mar 28, 2008 at 10:10 UTC

    (Totally off-topic) The technician should also check the "?" key, as it seems to always send 3 keystrokes at once.

    Just noticed: Let him check "!" and "." too ;-)


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e