LittleDemon WebShell


Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64
Path : /usr/lib64/perl5/auto/Storable/
File Upload :
Command :
Current File : //usr/lib64/perl5/auto/Storable/file_magic.al

# NOTE: Derived from ../../lib/Storable.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Storable;

#line 118 "../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/file_magic.al)"
sub file_magic {
    my $file = shift;
    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);

    $file = "./$file" unless $file;  # ensure TRUE value

    return read_magic($buf, $file);
}

# end of Storable::file_magic
1;

LittleDemon - FACEBOOK
[ KELUAR ]