in reply to Re: Uninitialized $1 in s///in thread Uninitialized $1 in s///
I can probably do something like
$command = join(":", $command =~ /^(?:a(\w))?(\w)$/); [download]
but this requires an extra function call.