in reply to Using sort sub as regular sub

fails to return anything.

Not even "undef" ?

Are you setting $a and $b before calling the sub ?

Please show your calling sequence.

             I hope life isn't a big joke, because I don't get it.
                   -SNL

Replies are listed 'Best First'.
Re^2: Using sort sub as regular sub
by wvbrandt (Initiate) on May 25, 2012 at 17:38 UTC
    Yes, I was setting $a and $b. I dumped the result into a string, which was blank, so I assumed the sub was sending back undefined. However, I went back to check for sure, ended up qualifying the call with its package name, and viola it immediately started working. So thanks for the question. :-)