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

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.

Replies are listed 'Best First'.
Re^5: How do I read .pag files
by sachinz2 (Acolyte) on Apr 26, 2017 at 09:06 UTC
    Thanks Monks

    I had come to exact same solution as @huck

    But thanks anyways