Hi- A quick look at CPAN didn't reveal any modules that would do your queries (you might try too :)
Backtics GOOD. You should be able to run your unix script almost as is in a perl script - looks like the easy way out. Aloha => Beau. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 10:43 AM To: [EMAIL PROTECTED] Subject: query a ph nameserver plus backtick question 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] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]