[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Illegal Seek (Sendmail)



For all those perl hackers out there who got this message (like me) and accidentally thought it was a SENDMAIL error, it's not. It's a perl problem.
 
This happens because you check $! when you have no business doing so.  Don't use a line like: 
`system_command` or die "Can't do system_comand : $!";
 
It will fail with this illegal seek error.
 
Instead use : 
system("system_command") and die "Can't do system_command : $! ";
 
use "and" because system() returns 0 on successful completion.
 
 
 
Good luck,
 
Bryant Eadon              
Credit   |  First             
Suisse  |  Boston        
Global Market Data Services
 

==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==============================================================================


Reply to: