Perl Sort function | topic started 10/26/2001; 12:36:59 PM last post 10/26/2001; 12:55:57 PM |
|
Michael Gage - Re: Perl Sort function 10/26/2001; 12:55:57 PM (reads: 3699, responses: 0) |
This is in PGbasicmacros.pl, but hasn't received documentation yet -- you have to look at the source code.
sub lex_sort { Use it like this:
PGsort is defined in PGtranslator.pm if you want to do something more esoteric. sort can be used to hang the execution of a problem, so we have made it available only through the PGsort alias. At the moment PGsort doesn't actually do much to protect against abuse, but the hook is there to install a time out or some other protection if we ever discover that we need it. -- Mike |