try
$del = quotemeta $del;
before the split statement. quotemeta escapes all non-word (\W) characters. also, ^ is a metacharacter in a regex character set [], but | is not.
bill
_______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
