in reply to Re^2: Print both elements in a compare
in thread Print both elements in a compare

Can you advise me on how to cater for both of those issues using the code posted ?

You can always use defined to check if an element is not undef, and do whatever you want with that information.

Perl 6 - links to (nearly) everything that is Perl 6.