in reply to Re: Tagging the last elements
in thread Tagging the last elements

I think he wanted
if( defined $5 and defined $6 ) { }