Re: run program in perl (345 Views)
Occasional Contributor
Posts: 7
Registered: ‎09-11-2013
Message 1 of 2 (381 Views)


[ Edited ]


Acclaimed Contributor
Posts: 26,012
Registered: ‎03-06-2006
Message 2 of 2 (345 Views)

Re: run program in perl

>if I would like to run the command  (cat /tmp/test.txt)


This is a bad example.  You should not be using evil cat.  Instead have perl directly open and read the file.

You can invoke commands by using `command`.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.