How do we know and determine whether or not the current point of loop is the last one (as it's simply done in Perl due to having \ ref. operator see on) ?
The edited corrected link: https://perlmonks.org/?node_id=11140741
Please help point a workaround. Thanks