<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Hello All,</div><div><br></div><div>I am using Text::CSV for parsing log files. I prefer using <span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">column_names/getline_hr</span> than <span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">bind_columns/getline</span>, as I feel the former one has better readability and maintainability.  However, it seems getline_hr does not throw any exception when there are any extra input fields (bad records) as getline does.<br></div><div><br></div><div>Is there better way to handle the bad records with extra fields without using <span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">bind_columns/getline</span>?<br></div><br>Thanks<br><br>Tiger<br></div></body></html>