> -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On > Behalf Of Adam Thornton > Sent: Monday, December 06, 2004 9:58 PM > To: [EMAIL PROTECTED] > Subject: Re: cpint - how to use from Perl > > > On Dec 6, 2004, at 9:16 PM, Ranga Nathan wrote: > > Does anyone have a perl example? > > > $retstring = `hcp q v dasd`; > > Seriously: use backticks. That's what they're there for. > > Adam >
Seriously: use the newer form as: $retstring=$(hcp q v dasd) I am constantly getting the backticks and apostrophe confused. I've noticed the same in Linux magazines as well. The $(...) syntax is much harder to mess up (IMNSHO). -- John McKown Senior Systems Programmer UICI Insurance Center Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its' content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
