Better to do something like:
I didn't look at the rest of your code for possible eval hitches, though.my $SortSub = eval "sub { return $sort_expr; }";
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Generate Dynamic Sort Expressions
by merlyn
in thread Generate Dynamic Sort Expressions
by lofichurch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |