1752672 Members
6197 Online
108789 Solutions
New Discussion

Re: run program in perl

 
2ne1Abcd
Occasional Contributor

moved

moved

1 REPLY 1
Dennis Handly
Acclaimed Contributor

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`.