);
use AutoLoader;
+use FileHandle;
use vars qw($canonical $forgive_me $VERSION);
-$VERSION = '2.15_02';
+$VERSION = '2.20';
*AUTOLOAD = \&AutoLoader::AUTOLOAD; # Grrr...
#
sub file_magic {
my $file = shift;
- open(my $fh, "<", $file) || die "Can't open '$file': $!";
+ my $fh = new FileHandle;
+ open($fh, "<". $file) || die "Can't open '$file': $!";
binmode($fh);
defined(sysread($fh, my $buf, 32)) || die "Can't read from '$file': $!";
close($fh);
Maintenance is now done by the perl5-porters F<E<lt>perl5-porters@perl.orgE<gt>>
Please e-mail us with problems, bug fixes, comments and complaints,
-although if you have complements you should send them to Raphael.
+although if you have compliments you should send them to Raphael.
Please don't e-mail Raphael with problems, as he no longer works on
Storable, and your message will be delayed while he forwards it to us.