1 Apr
2016
1 Apr
'16
11:33 a.m.
My script is only 470 lines long, but it uses DBI module (and some minor others). Maybe it's quite complex and causing the slowdown. The DBI module is huge.
If your Perl script is 470 lines, you can probably do all of that work in unlang. Actually, i'm trying to migrate from unlang to Perl. Because of unlang's poor syntax (such as returning only one value from {%sql .. })
map sql "SELECT ALL, THE, COLUMNS FROM STFU WHERE 1" { Reply-Message += 'ALL', Reply-Message += 'THE', Reply-Message += 'COLUMNS' } -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2