Skip to content

Commit 55e2bbe

Browse files
authored
Merge pull request Perl#256 from jkeenan/gha-253-windows
Gha 253 windows
2 parents 4f4422f + 0549a51 commit 55e2bbe

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

win32/bin/pl2bat.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ sub process {
8585
my $start= $Config{startperl};
8686
$start= "#!perl" unless $start =~ /^#!.*perl/;
8787
open( FILE, '<', $file ) or die "$0: Can't open $file: $!";
88-
@file = <FILE>;
89-
foreach $line ( @file ) {
88+
my @file = <FILE>;
89+
foreach my $line ( @file ) {
9090
$linenum++;
9191
if ( $line =~ /^:endofperl\b/ ) {
9292
if( ! exists $OPT{'u'} ) {

win32/bin/search.pl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/usr/local/bin/perl -w
2-
'di';
3-
'ig00';
2+
no strict 'vars';
3+
{
4+
no warnings 'void';
5+
'di';
6+
'ig00';
7+
}
48
##############################################################################
59
##
610
## search

0 commit comments

Comments
 (0)