in reply to Create reference to sorted anonymous array

Use square brackets to create an anonymous array:
blubb([reverse @array]);

Also, remove the ($) prototype. See Far More than Everything You've Ever Wanted to Know about Prototypes in Perl -- by Tom Christiansen to know why.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^2: Create reference to sorted anonymous array
by Digioso (Sexton) on Mar 16, 2016 at 14:54 UTC
    Thanks a lot. It's working with that. :)
    I'll also check out the link you posted.