my $char = quotemeta '*'; # or "\Q*" instead of quotemeta @line = split /$char/, $_; [download]
In reply to Re: Split on metachar by borisz in thread Split on metachar by EyeOpener