[Info-vax] capture program output into a symbol ?
Hein RMS van den Heuvel
heinvandenheuvel at gmail.com
Fri May 13 09:50:10 EDT 2011
On May 13, 5:31 am, Pierre <pierre.... at gmail.com> wrote:
> > Or in a pinch PERL will do the job
>
> wouldn't perl be just a too big hammer for such a small nail ? how big
> is perl.exe ?
PERL.EXE is about 6 blocks on Alpha. But PERLSHR is more than 2MB.
Yeah it is a big hammer to just to a 'printf ("%5.2f", 1/3)'
IF you try perl, then you may find that you want to give it more of
the work.
You'll have it do the parsing, to pick up the numbers to work from.
And you may want to give it the file reading loop we so often have to
code up in DCL.
If you have a contained/concrete example problem, then we may be able
to demonstrate.
Cheers,
Hein
More information about the Info-vax
mailing list