Perl-Sensitive Sunglasses | |
PerlMonks |
Re^5: Running Multiple Commands using Systemby Corion (Patriarch) |
on Jun 27, 2014 at 07:06 UTC ( [id://1091440]=note: print w/replies, xml ) | Need Help?? |
Maybe I did not make myself clear enough. What I wanted to clarify is, whether the string you pass to system would work on its own when typed into a terminal. So, again my question, maybe more explicit: After opening a plain terminal, with your normal shell running, does pasting the following command work?
If that doesn't work without Perl, it won't work with Perl added either. If you want to run multiple commands within one shell session, I recommend creating a shell script and launching that script via system.
In Section
Seekers of Perl Wisdom
|
|