mirror of
https://github.com/curl/curl.git
synced 2026-08-01 13:58:39 +03:00
scripts: drop redundant double-quotes: "$var" -> $var (Perl)
Closes #21009
This commit is contained in:
parent
f45bf74b5a
commit
d5014a2b95
33 changed files with 161 additions and 161 deletions
|
|
@ -177,9 +177,9 @@ sub dump_array {
|
|||
sub display_file {
|
||||
my $filename = $_[0];
|
||||
print "=== Start of file $filename\n";
|
||||
if(open(my $displayfh, "<", "$filename")) {
|
||||
if(open(my $displayfh, "<", $filename)) {
|
||||
while(my $line = <$displayfh>) {
|
||||
print "$line";
|
||||
print $line;
|
||||
}
|
||||
close $displayfh;
|
||||
}
|
||||
|
|
@ -192,9 +192,9 @@ sub display_file {
|
|||
sub display_file_top {
|
||||
my $filename = $_[0];
|
||||
print "=== Top of file $filename\n";
|
||||
if(open(my $displayfh, "<", "$filename")) {
|
||||
if(open(my $displayfh, "<", $filename)) {
|
||||
my $line = <$displayfh>;
|
||||
print "$line";
|
||||
print $line;
|
||||
close $displayfh;
|
||||
}
|
||||
print "=== End of file $filename\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue