1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/databases/p5-SQL-Translator/files/5.005_03-patch-t::19sybase-parser.t
Mathieu Arnold d806b7b030 Now works with stock perl 5.005_03
PR:		66431
Submitted by:	Lars Thegler <lars@thegler.dk> (maintainer)
2004-05-10 13:21:29 +00:00

16 lines
377 B
Perl

--- t/19sybase-parser.t.orig Sun May 9 19:14:03 2004
+++ t/19sybase-parser.t Sun May 9 19:14:34 2004
@@ -17,9 +17,9 @@
my $data;
{
local $/;
- open my $fh, "<$file" or die "Can't read file '$file': $!\n";
- $data = <$fh>;
- close $fh;
+ open FH, "<$file" or die "Can't read file '$file': $!\n";
+ $data = <FH>;
+ close FH;
}
ok( $data, 'Data' );