I really suggest Use strict and warnings though.
In reply to Re: Problem with win32 objects by runrig in thread Problem with win32 objects by ScooterTrash