Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: backticks and system() (Updated)by thanos1983 (Parson) |
on Mar 28, 2019 at 22:52 UTC ( [id://1231839]=note: print w/replies, xml ) | Need Help?? |
Hello ytjPerl, From the documentation system:
Have you tried something similar? (
Have you tried something similar? (Recommended)
If there is an error on the command it will be printed through the die command. Also for general information fellow Monk haukex has written a very interesting tutorial Re: curl without backticks and system() (updated x2). Update: I forgot to add the reason that why my proposed solution I believe it will work for your case. Sample below:
Update 2: Based on useful links that haukex and afoken provided the system command that I presented above it looks to have the same affect as a single quote (string). So proposed solution if you wish to use system would be like this (see below):
Where you explicitly define the list of commands. Hope this helps, BR.
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|