This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix deparsing of select(F)
[perl5.git] / dist / B-Deparse / t / deparse.t
index 2d75050..3500d5b 100644 (file)
@@ -1263,3 +1263,17 @@ foreach my $i (1 .. 3) {
 continue {
     ();
 }
+####
+# file handles
+no strict;
+my $mfh;
+open F;
+open *F;
+open $fh;
+open $mfh;
+open 'a+b';
+select *F;
+select F;
+select $f;
+select $mfh;
+select 'a+b';