in reply to Running a command from a text file
Hello Say I have a file containing a single line which is a bash command. Is ther a Perl one liner to copy and run it? Cheers
Just to be sure, you do want to do this within the context of a larger Perl script, right? Since otherwise, you don't even need Perl; the following will suffice:
$ source filename.txt
|
|---|