Help for this page
my $current_file_size = -s $file_name;
if ( $start_pc >= $current_file_size ) { warn sprintf( "Your requested offset (%d) is past EOF (%d)\n", ... # and do something else, like prompt for new input }