Re: Help with regex conversions

2013-09-19 Thread Shlomi Fish
Hi Rajesh, On Thu, 19 Sep 2013 23:39:48 +0530 rajesh kumar wrote: > Hi, > > I am reading a set of regex, separated by comma, from database, which is in > string format and using eval to convert them in the array. > For e.g., > String from database is 'qr/^abc .* $/,qr/xxx/' > > $string = 'qr/^

Help with regex conversions

2013-09-19 Thread rajesh kumar
Hi, I am reading a set of regex, separated by comma, from database, which is in string format and using eval to convert them in the array. For e.g., String from database is 'qr/^abc .* $/,qr/xxx/' $string = 'qr/^abc .*$/,qr/xxx/'; # this $string comes from DB $string = '[' . $string . ']'; my @cl

Re: Help with regex conversions

2013-09-19 Thread Dr.Ruud
On 19/09/2013 20:09, rajesh kumar wrote: Hi, I am reading a set of regex, separated by comma, from database, which is in string format and using eval to convert them in the array. For e.g., String from database is'qr/^abc .* $/,qr/xxx/' $string = 'qr/^abc .*$/,qr/xxx/'; # this $string comes fro

Re: Compilation 5.18.0 on RHEL 6.4 fails to use threads (?)

2013-09-19 Thread Alexander Karner
Well. $ which perl ~/soft/perl/5.18.0/usr/local/bin/perl And: $ perl -v This is perl 5, version 18, subversion 0 (v5.18.0) built for x86_64-linux whereas $ /usr/bin/perl -v This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi (Well... Of course the "thread" in this statement is a

Re: Compilation 5.18.0 on RHEL 6.4 fails to use threads (?)

2013-09-19 Thread Brian Fraser
On Thu, Sep 19, 2013 at 8:16 AM, Alexander Karner wrote: > Hi! > > I got the list of options from there: * > http://mail.perlide.org/pipermail/padre-dev/2010-June/001863.html* > > But I checked a compilation with > sh Configure -d

Re: Compilation 5.18.0 on RHEL 6.4 fails to use threads (?)

2013-09-19 Thread Alexander Karner
Hi! I got the list of options from there: http://mail.perlide.org/pipermail/padre-dev/2010-June/001863.html But I checked a compilation with sh Configure -des -Dusethreads -Dprefix=$HOME/soft/perl/5.18.0 -Dinstallusrbinperl=n -Accflags='-pthread' This results in [...snip...] Build a threadin