http://qs1969.pair.com?node_id=774744


in reply to Extracting Multiline Records from a file

Or maybe - just guessing as the others - you assignment to your $PhoneNumber is not doing what you expect

my $PhoneNumber = 000001; print "[$PhoneNumber] \n"; output: [1]
cheers

si_lence