On 12/20/18 2:59 PM, Laurent Rosenfeld via perl6-users wrote:
$0 /does /work with "perl6 -e" if you use correctly the tilde ~ operator. For example:

$ perl6 -e ' "abc" ~~ /.(\w)./; say ~$0;'
b


This is because "say" is also a converter.  My issue
is when assigning to another variable that has been
"typed".

Reply via email to