[comment] This page is being used on 'Items -> Create new item'. It is loaded in an iframe which informs the user whether or not a SKU is already existing. mv_metadata.asc contains a block of code which calls this page using an area tag with a couple of attributes. mv_metadata.asc has no love for newlines, but the area tags needs them to separate the attributes. Below calc block separates out the attributes so they can be parsed later on. [/comment] [calc] my $tempcgi = $CGI->{type}; my @tempcgiarr = split(/\s{2,}/,$tempcgi); my ($var,$val); foreach my $arr_elem (@tempcgiarr) { if (!($arr_elem =~ /\=/)) { $CGI->{type} = $arr_elem; #only type should have no = as we split on it } ($var,$val) = split(/\=/,$arr_elem); $CGI->{$var} = $val; } return ""; [/calc]