in reply to External program with large amounts of output
But if it really is a big ammount of data, I'd execute it and have it's output writing to a file and then read it from there withunless (open (CMDREAD, "$program $args |")) { die "ERROR in executing $program $args: $!\n"; } else { while (<CMDREAD>){ # do something with $_ } close (CMDREAD); } # else
Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re:x2 External program with large amounts of output
by grinder (Bishop) on Apr 15, 2002 at 15:14 UTC | |
by strat (Canon) on Apr 15, 2002 at 15:44 UTC | |
by Bird (Pilgrim) on Apr 15, 2002 at 18:41 UTC |