__________________________________________
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591 Fax: 714-442-2840
Adam Thornton <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[EMAIL PROTECTED]>
12/06/2004 07:58 PM
Please respond to Linux on 390 Port
To: [EMAIL PROTECTED]
cc:
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.
This is what I do when I have exhausted all the possibilities. This
creates a new shell and runs hcp in the shell.
This is surely one way to do it. Printing to the device is handled within
the current process.
Adam
----------------------------------------------------------------------
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
----------------------------------------------------------------------
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