mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:23:31 +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
|
|
@ -30,7 +30,7 @@ use warnings;
|
|||
|
||||
sub convert {
|
||||
my ($dir) = @_;
|
||||
opendir(my $dh, $dir) || die "could not open $dir";
|
||||
opendir(my $dh, $dir) or die "could not open $dir";
|
||||
my @cd = grep { /\.md\z/ && -f "$dir/$_" } readdir($dh);
|
||||
closedir $dh;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue