John Dunn wrote: > Actually I do ( typo in email) > > open(MYFILE, ">$myfile") || die "Cannot open file"; > > It still does not display my message >
i notice in your error message you said "Cannot open file" but in your open statement you are trying to open the file for writting. so even if $myfile doesn't exist, Perl won't complain, it will just create the file for you if you have permission. david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]