w.k

Estonia

Age: 43

Mar
28
comment How to get information about itself in app.psgi?
@kobame, Your intention was unclear to me, so I suggested, that if you for some reason need to know the port-info before request reaches to the app, the middleware (yes basically other PSGI app) could be your best shot.
Mar
28
comment Substitution in Perl
You have to show us your efforts too. What have you tried?
Mar
27
answered replacing flat-file db with proper database with record level editing
Mar
27
answered How to get information about itself in app.psgi?
Mar
24
awarded Popular Question
Mar
21
answered How to create key value JSON response in perl script with MYSQL data
Mar
10
revised Using sessions with perl Dancer/plack/Starman and multiple workers
brief summary
Mar
9
awarded Commentator
Mar
9
comment Where does Apache get the value for Perl @INC?
@natxoasenjo: no, tainting is not enabled, i use my own tainting technique. I did not got new information neither from this perlmonks thread nor perlmod docs.
Mar
9
revised Using sessions with perl Dancer/plack/Starman and multiple workers
code example
Mar
7
answered Using sessions with perl Dancer/plack/Starman and multiple workers
Mar
6
revised Where does Apache get the value for Perl @INC?
additional tag
Mar
6
comment Where does Apache get the value for Perl @INC?
@wurtel Plain old CGI.
Mar
6
asked Where does Apache get the value for Perl @INC?
Mar
3
comment How to perform arithmetic operations on the output of a shell command
And why not $lines{$logfile} = @lines? Here @lines is evaluated in scalar context and should give number of lines.
Mar
3
comment How to perform arithmetic operations on the output of a shell command
So $. has last line number after while loop is ended?
Mar
3
comment How to perform arithmetic operations on the output of a shell command
I think, it should be $lines{$logfile} = @lines, but isn't it too memory consuming? I'd go for something like this: while ( <$fh> ) { $lines{$logfile} = $. if eof(); }
Mar
3
comment MiniExifTool - Errno::ENAMETOOLONG - Error in prod only
Are you aware, that LANG = "en_US_UTF-8" contains typo?
Feb
20
comment Regex and creating output file (Perl beginner)
OP includes condition needs to work regardless of case in the input file. This may mean NEW -> OLD and nEw -> oLd, new -> old, etc. If replacement's case is not important, i-switch is enough.
Feb
20
comment perl get list of desired parameters
These three modules I suggested do not use source filters too, AFAIK.
1 2 3 4 5