in reply to (jeffa) Re: delete something from a variablein thread delete something from a variable
$var =~ s{/[^/]+$}{}; [download]
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)