Superlman has asked for the wisdom of the Perl Monks concerning the following question:
my $html = system("echo $plaintext | txt2html --extract");
However, $html is always 32512. Any ideas on how to fix this, or other ways to go about it?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Obtaining the output of a system call, not the return status
by wog (Curate) on Feb 09, 2002 at 21:58 UTC | |
|
Re: Obtaining the output of a system call, not the return status
by gav^ (Curate) on Feb 09, 2002 at 22:13 UTC | |
|
Re: Obtaining the output of a system call, not the return status
by Zaxo (Archbishop) on Feb 09, 2002 at 21:57 UTC | |
by japhy (Canon) on Feb 09, 2002 at 22:03 UTC | |
|
Re: Obtaining the output of a system call, not the return status
by japhy (Canon) on Feb 09, 2002 at 21:56 UTC | |
|
Re: Obtaining the output of a system call, not the return status
by beebware (Pilgrim) on Feb 09, 2002 at 23:16 UTC |