in reply to Idiom for setting variables to empty string if capture is undefined?
$_ //='' for my ($c, $d, $e, $f) = 'abcd' =~ /(w)(x)(y)(z)/; print $c, $d, $e, $f; [download]
How's this for an idiom ?