if (@{$memoryfile}[0]=~/([^[:print:]])/ || @{$memoryfile}[1]=~/([^[:print:]])/ ) { LogMess("Error: Binary input data detected",1); return -1; } [download]
In reply to Any idea what this does by Anonymous Monk