mirror of
https://github.com/curl/curl.git
synced 2026-08-03 18:00:30 +03:00
perl: switch from backticks to qx()
To make it easier to find external command invocation in the source. Also drop backticks from a comment. To find external command invocations in Perl code use: ```sh git grep -E "((exec|qx|open2|open3|system)\(|open\(.+-\|)" $(<perlfiles>) ``` Refs: https://perldoc.perl.org/functions/qx https://perldoc.perl.org/perlop#Simpler-Quote-Like-Operators Closes #21994
This commit is contained in:
parent
c61f007a73
commit
9972f700a8
17 changed files with 48 additions and 48 deletions
|
|
@ -90,7 +90,7 @@ if(defined $ARGV[0] && $ARGV[0] eq "--dry-run") {
|
|||
}
|
||||
|
||||
# list all files to scan for links
|
||||
my @files = `git ls-files docs include lib scripts src`;
|
||||
my @files = qx(git ls-files docs include lib scripts src);
|
||||
|
||||
sub storelink {
|
||||
my ($f, $line, $link) = @_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue