Re: run program in perl (275 Views)
Reply
Occasional Contributor
2ne1Abcd
Posts: 7
Registered: ‎09-11-2013
Message 1 of 2 (305 Views)

moved

[ Edited ]

moved

Acclaimed Contributor
Dennis Handly
Posts: 25,065
Registered: ‎03-06-2006
Message 2 of 2 (275 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.