About Perl Flags in Rlm_Perl Config
Hello Everyone, rlm_perl is wonderful extension. including perl interpreter is good idea. but i have some trouble about perl flags in the perl module configuration. When i pass this to config it's ok. *perl_flags = "-T -I/opt/sinecins/rsc/scripts/radius"* But whe i pass this to config, perl has syntax error. *perl_flags = "-T -I<foopath>/scripts/radius -I<dummypath>/scripts/radius" * How can i pass *two include path* to perl module ? Many thanks, With best regards -- Onur GÜRSOY R&D Engineer in Embedded Systems Master Student at Gebze Institute Of Technology Department Of Electronic Engineering GSM : 0(545) 764 7653 e-mail: onurgursoygyte@gmail.com
Hi, Onur! In case you can't find a direct solution you might consider this solution in your code: The@INCVariable The@INCarray variable contains a list of directories to be searched for files requested by therequirefunction. This list consists of the following items, in order from first to last: * The directories specified by the-Ioption * The Perl library directory, which is normally/usr/local/bin/perl * The current working directory (represented by the.character) Like any array variable,@INCcan be added to or modified. Not sure this helps in your case. Uwe On 18.11.2020 07:18, Onur GURSOY wrote:
Hello Everyone,
rlm_perl is wonderful extension. including perl interpreter is good idea.
but i have some trouble about perl flags in the perl module configuration. When i pass this to config it's ok. *perl_flags = "-T -I/opt/sinecins/rsc/scripts/radius"* But whe i pass this to config, perl has syntax error. *perl_flags = "-T -I<foopath>/scripts/radius -I<dummypath>/scripts/radius" *
How can i pass *two include path* to perl module ?
Many thanks, With best regards
On 18 Nov 2020, at 03:18, Onur GURSOY <onurgursoygyte@gmail.com> wrote:
Hello Everyone,
rlm_perl is wonderful extension. including perl interpreter is good idea.
For sure!
but i have some trouble about perl flags in the perl module configuration. When i pass this to config it's ok. *perl_flags = "-T -I/opt/sinecins/rsc/scripts/radius"* But whe i pass this to config, perl has syntax error. *perl_flags = "-T -I<foopath>/scripts/radius -I<dummypath>/scripts/radius" *
It’s VERY hard to help you without these _error messages_ that you’re mentioning… at least, I can’t see in your e-mail. Please, first of all take a look at https://wiki.freeradius.org/guide/Users-Mailing-List <https://wiki.freeradius.org/guide/Users-Mailing-List>
participants (3)
-
Jorge Pereira -
Onur GURSOY -
uj2.hahn@posteo.de