# Pastebin geAbPBVH my $title = (%fields.body-text || %fields<file0>.filename || 'warp-document') ~ '.pdf'; my $filename = S:g/ /-/ given $title;