You would do it just like you do in normal perl.
<html>
[-
open (DIG, "dig domain.com | ");
$foo = <DIG>;
close (DIG);
-]
dig returned: [+ $foo +]
alternatively, you can try:
dig returned: [+ `/usr/local/bin/dig domain.com` +]
On 02-Jun-2000 Embperl wrote:
> just wanna know how you can include system("dig domain.com"); in embperl and
> be able to put the result in a variable.
>
> tnx
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
Regards,
Wim Kerkhoff, Software Engineer
NetMaster Networking Solutions
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]