mirror of
https://github.com/curl/curl.git
synced 2026-06-20 06:55:39 +03:00
perl: || die -> or die
Usage was fifty-fifty between these syntaxes before this patch. Closes #22036
This commit is contained in:
parent
5d1ac48088
commit
678e63934c
29 changed files with 69 additions and 69 deletions
6
.github/scripts/cleancmd.pl
vendored
6
.github/scripts/cleancmd.pl
vendored
|
|
@ -16,7 +16,7 @@ use warnings;
|
|||
my @asyms;
|
||||
|
||||
open(S, "<./docs/libcurl/symbols-in-versions")
|
||||
|| die "cannot find symbols-in-versions";
|
||||
or die "cannot find symbols-in-versions";
|
||||
while(<S>) {
|
||||
if(/^([^ ]*) /) {
|
||||
push @asyms, $1;
|
||||
|
|
@ -30,7 +30,7 @@ my @aopts = (
|
|||
);
|
||||
|
||||
open(O, "<./docs/options-in-versions")
|
||||
|| die "cannot find options-in-versions";
|
||||
or die "cannot find options-in-versions";
|
||||
while(<O>) {
|
||||
chomp;
|
||||
if(/^([^ ]+)/) {
|
||||
|
|
@ -50,7 +50,7 @@ while(<O>) {
|
|||
close(O);
|
||||
|
||||
open(C, "<./.github/scripts/spellcheck.curl")
|
||||
|| die "cannot find spellcheck.curl";
|
||||
or die "cannot find spellcheck.curl";
|
||||
while(<C>) {
|
||||
if(/^\#/) {
|
||||
next;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue