Hello,
I'm on a unix system and I want to query a ph nameserver to get some
information. I know that I can have unix do it for me with backticks
$name = `ph email = [EMAIL PROTECTED] return name`;
this will return text to $name
----------------------------------------
name: Cinco, Aaron Lou Torres
----------------------------------------
name: Cuvelier, Carrie Jean
----------------------------------------
name: Dant, Gregory Charles
----------------------------------------
name: Erdos, Jason A.
----------------------------------------
....
this is exactly the data I want, a simple regex will get me the names I
need.
So I basically have two questions...
Can I query the nameserver from the script directly instead of unix
doing the work with backticks?
Are backticks bad, and if so what are the alternatives if I need to
return information to a variable?
-brian
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]