From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Babble::Plugin::DefinedOr - Plugin for defined-or (//) syntax

SYNOPSIS

Converts usage of the defined-or syntax from

$foo // $bar

to

(map +(defined($_) ? $_ : $bar), $foo)[0]

SEE ALSO

// syntax