note
kilinrax
The problem with the specific snippet you quote here is that double-quoting the string leads it being interpolated, thus;
<code>
$_ = "host|db_name|user|some@thing";
</code>
will result in $_ containing `<tt>host|db_name|user|some</tt>`, at the array `<tt>@thing</tt>` is undefined at this point in the code.<br>
Try using single quotes instead.
67188
67188