in reply to Error : Segmentation fault

Please check this,

1. If the input file is created by just copying the text from windows machine & paste it in the unix system, it throws segmentation error

2. If you fetch the data after finished the database handler(dbh->finish()), it also throws segmentation error.

Replies are listed 'Best First'.
Re^2: Error : Segmentation fault
by Moron (Curate) on Jun 01, 2007 at 12:44 UTC
    re 1) that's like saying if you drive over 70 mph. you will have a fatal accident 100% of the time instead of saying it "might" happen - moreover I ran into some code on Sun Solaris hacked in by a predecessor with all those nasty ^Ms on the end that only DOS/Windows knows how - it's been working in production for years!

    __________________________________________________________________________________

    ^M Free your mind!