in reply to Re^2: How do I read .pag files
in thread How do I read .pag files

$file filename.state.pag filename.state.pag: data
$hexdump -C filename.state.pag hexdump: filename.state.pag: No such file or directory hexdump: filename.state.pag: Bad file descriptor

Replies are listed 'Best First'.
Re^4: How do I read .pag files
by huck (Prior) on Apr 12, 2017 at 11:58 UTC

    is there a filename.state.dir file too? if so based on the link from marto this may work;

    use strict;; use warnings; use Fcntl; # For O_RDWR, O_CREAT, etc. use SDBM_File; my $filename='filename.state'; my %hash; tie(%hash, 'SDBM_File', $filename, O_RDWR|O_CREAT, 0666) or die "Couldn't tie SDBM file 'filename': $!; aborting"; use Data::Dumper; print Dumper(\%hash);
    I would make a copy of the two files first, then run off of the copies, just to make sure.

      Thanks Monks

      I had come to exact same solution as @huck

      But thanks anyways